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

I am running the SQL exporter on a PostgreSQL cluster and by default, my collected metrics get several labels added. Also, a hostname label which makes it easy to work...

Using mysql URL like `mysql://user:password@tcp(db.query.consul:3306)/db` causing error: ``` {"caller":"level.go:63","err":"parse mysql://user:password@tcp(db.query.consul:3306)/db: invalid port \":3306)\" after host","job":"de_bulkimport_checks","level":"error","msg":"Failed to parse URL","ts":"2020-03-27T19:26:45.072425282Z","url":"mysql://user:password@tcp(db.query.consul:3306)/db"} ``` In previous version 0.2 works fine.

help wanted

I want to select user-level stats from a database and naturally I added `user` as a label for my metrics. Unfortunately, `sql_exporter` crashed immediately, because it adds a lot of...

enhancement

We should consider supporting synchonous jobs in a clean way.

enhancement

We should _consider_ supporting *Counter* type metrics. In general I'd like to keep the SQL Exporter as simple as possible, but it *may* make sense to support Counters.

enhancement

This issue is to track the support for exporting histogram metrics. Here is a proposal for histogram metrics support: https://github.com/muxinc/sql_exporter/pull/3 Happy to package that as an upstream PR here if...

Added a short description how to create an installer executable for Windows. This installer contains: copying the (not included sql_exporter.exe) and dependencies to %PROGRAMFILES%\sql_exporter registering a service for the sql_exporter...

Hi, as the exporter keeps its connection open between scrapes it becomes harder to drop an unused database. I feel like disconnecting once a scrape is finished serves multiple purposes....

At least the internals should be covered. Not sure about integration tests connecting to databases. Would be nice, but may be error prone.

enhancement
help wanted

**Is your feature request related to a problem? Please describe.** I would like to be able to authenticate with Azure SQL via AAD **Describe the solution you'd like** https://github.com/denisenkom/go-mssqldb#azure-active-directory-authentication

help wanted