Skip to content

Commit 85c3152

Browse files
arnogeurts-sqillswrouesnel
authored andcommitted
Fix build for auto-discover-databases feature
1 parent 4d96104 commit 85c3152

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/postgres_exporter/postgres_exporter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ func DisableSettingsMetrics(b bool) ExporterOpt {
914914
}
915915
}
916916

917+
// AutoDiscoverDatabases allows scraping all databases on a database server.
917918
func AutoDiscoverDatabases(b bool) ExporterOpt {
918919
return func(e *Exporter) {
919920
e.autoDiscoverDatabases = b

0 commit comments

Comments
 (0)