You've already forked postgres_exporter
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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user