Skip to content

Commit 835f0f6

Browse files
Fix build for auto-discover-databases feature
1 parent 79aeceb commit 835f0f6

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
@@ -906,6 +906,7 @@ func DisableSettingsMetrics(b bool) ExporterOpt {
906906
}
907907
}
908908

909+
// AutoDiscoverDatabases allows scraping all databases on a database server.
909910
func AutoDiscoverDatabases(b bool) ExporterOpt {
910911
return func(e *Exporter) {
911912
e.autoDiscoverDatabases = b

0 commit comments

Comments
 (0)