sql_exporter icon indicating copy to clipboard operation
sql_exporter copied to clipboard

Flexible SQL Exporter for Prometheus.

Results 42 sql_exporter issues
Sort by recently updated
recently updated
newest added

It would be really great to have a flag just under the job which force reporting to prometheus if the query failed. The Idea here is let's say we want...

With the recent addition of histograms to measure query times, we might have no interest in defining values for our queries. Even with allow_zero_rows set to true, we still end...

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...

dependencies

I need to connect to one of my mysql database running as kubernetes pod. Where can i find the configurations for mysql? i see only Postgres configurations in the repository....

Bumps [github.com/jackc/pgproto3/v2](https://github.com/jackc/pgproto3) from 2.3.2 to 2.3.3. Commits 945c212 Backport fixes from pgx v5 See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/jackc/pgproto3/v2&package-manager=go_modules&previous-version=2.3.2&new-version=2.3.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR...

dependencies

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.32.0&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.18.1 to 4.18.2. Changelog Sourced from github.com/jackc/pgx/v4's changelog. 4.18.2 (March 4, 2024) Fix CVE-2024-27289 SQL injection can occur when all of the following conditions are met: The...

dependencies

Use the latest version of docker version 0.5.7, use the following method to connect to the sqlserver database and report an error. ` connections: - 'sqlserver://saread:[email protected]/sh?database=spdb' ` The error message...

`'user=app_sql_exporter dbname=postgres host=/run/postgresql port=5432'` ...results in: `{"caller":"job.go:189","err":"sql: unknown driver \"\" (forgotten import?)","job":"example","level":"warn","msg":"Failed to connect","ts":"2024-07-26T17:50:10.540688846Z"}` `'postgres://app_sql_exporter:testpw@%2Frun%2Fpostgresql:5432/postgres'` ...results in: `{"caller":"job.go:104","err":"parse \"postgres://app_sql_exporter@%2Frun%2Fpostgresql:5432/postgres\": invalid URL escape \"%2F\"","job":"example","level":"error","msg":"Failed to parse URL","ts":"2024-07-26T17:49:26.091765976Z","url":"postgres://app_sql_exporter@%2Frun%2Fpostgresql:5432/postgres"}` `'postgres://app_sql_exporter:testpw@/run/postgresql:5432/postgres'` ...results in: `{"caller":"job.go:189","err":"pq:...

enhancement

**Use case:** We have 10+ jobs with different schedules pointing to one PostgreSQL instance. All those jobs are configured with `keepalive: false` but we see established connections equal to the...