postgres_exporter/collector
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
..
collector.go WIP: Add prelim multi-target support 2022-07-28 10:19:32 -04:00
pg_database.go WIP: Add prelim multi-target support 2022-07-28 10:19:32 -04:00
pg_stat_bgwriter.go Fix checkpoint_sync_time value type 2022-07-30 17:11:11 +02:00
probe.go Update multi-target handler to use new DSN type 2022-09-02 10:32:44 -04:00