postgres_exporter/cmd/postgres_exporter
Joe Adams 7ffba684de
Update multi-target handler to use new DSN type
- Moves new dsn type to config.DSN. This will prevent circular dependencies.
- Change DSN.query to be url.Values. This allows the multi-target functionality to merge values without re-parsing the query string
- Change NewProbeCollector to use the new config.DSN type
- Add DSN.GetConnectionString to return a string formatted for the sql driver to use during connection

Signed-off-by: Joe Adams <github@joeadams.io>
2022-09-02 10:32:44 -04:00
..
tests Update build 2022-05-25 11:27:42 +02:00
datasource.go Update multi-target handler to use new DSN type 2022-09-02 10:32:44 -04:00
main.go Update cmd/postgres_exporter/main.go 2022-07-28 10:21:02 -04:00
namespace.go Release 0.12.0-rc.0 2022-08-26 16:49:54 +02:00
pg_setting_test.go Release 0.10.1 2022-01-14 17:27:06 +01:00
pg_setting.go Remove unit from setting because of Aurora 2022-03-03 15:55:35 +01:00
postgres_exporter_integration_test.go Release 0.10.1 2022-01-14 17:27:06 +01:00
postgres_exporter_test.go Release 0.12.0-rc.0 2022-08-26 16:49:54 +02:00
postgres_exporter.go Release 0.12.0-rc.0 2022-08-26 16:49:54 +02:00
probe.go cleanup and README 2022-07-28 10:19:32 -04:00
queries.go Release 0.12.0-rc.0 2022-08-26 16:49:54 +02:00
server.go Release 0.12.0-rc.0 2022-08-26 16:49:54 +02:00
util.go Fix broken log-level for values other than debug. 2021-07-14 16:19:00 +05:30