1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-14 01:02:26 +03:00

Clean up autoDiscoverDatabases in the new collector

Signed-off-by: Joe Adams <github@joeadams.io>
This commit is contained in:
Joe Adams
2022-02-25 08:11:22 -05:00
parent 27d23d02ef
commit 9704b9fb2e
3 changed files with 3 additions and 22 deletions

View File

@@ -119,7 +119,6 @@ func main() {
logger,
dsn,
[]string{},
collector.WithAutoDiscoverDatabases(*autoDiscoverDatabases),
)
if err != nil {
level.Error(logger).Log("msg", "Failed to create PostgresCollector", "err", err.Error())