Skip to content

Commit

Permalink
Disable scraping the 'global' scope by default.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ed Schouten committed Nov 2, 2017
1 parent f4ca2a3 commit 9bbdcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dovecot_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func main() {
listenAddress = app.Flag("web.listen-address", "Address to listen on for web interface and telemetry.").Default(":9166").String()
metricsPath = app.Flag("web.telemetry-path", "Path under which to expose metrics.").Default("/metrics").String()
socketPath = app.Flag("dovecot.socket-path", "Path under which to expose metrics.").Default("/var/run/dovecot/stats").String()
dovecotScopes = app.Flag("dovecot.scopes", "Stats scopes to query (comma separated)").Default("global,user").String()
dovecotScopes = app.Flag("dovecot.scopes", "Stats scopes to query (comma separated)").Default("user").String()
)
kingpin.MustParse(app.Parse(os.Args[1:]))

Expand Down

0 comments on commit 9bbdcdb

Please sign in to comment.