mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-05 17:38:01 +00:00
- 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> |
||
---|---|---|
.. | ||
testdata | ||
config_test.go | ||
config.go | ||
dsn_test.go | ||
dsn.go |