Skip to content

Commit 9bbdcdb

Browse files
author
Ed Schouten
committed
Disable scraping the 'global' scope by default.
At Kumina, we use an ancient version of Dovecot on some of our systems that doesn't support this scope yet. The default set of scopes to be scraped was changed in kumina#5.
1 parent f4ca2a3 commit 9bbdcdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dovecot_exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func main() {
139139
listenAddress = app.Flag("web.listen-address", "Address to listen on for web interface and telemetry.").Default(":9166").String()
140140
metricsPath = app.Flag("web.telemetry-path", "Path under which to expose metrics.").Default("/metrics").String()
141141
socketPath = app.Flag("dovecot.socket-path", "Path under which to expose metrics.").Default("/var/run/dovecot/stats").String()
142-
dovecotScopes = app.Flag("dovecot.scopes", "Stats scopes to query (comma separated)").Default("global,user").String()
142+
dovecotScopes = app.Flag("dovecot.scopes", "Stats scopes to query (comma separated)").Default("user").String()
143143
)
144144
kingpin.MustParse(app.Parse(os.Args[1:]))
145145

0 commit comments

Comments
 (0)