mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-25 14:16:36 +00:00
*: replace --collectors.[name].* with --collector.[name].* flags (click PR number for more information) (#1659)
This commit is contained in:
@@ -59,7 +59,7 @@ func NewWithFlags(app *kingpin.Application) *Collector {
|
||||
var filePatterns string
|
||||
|
||||
app.Flag(
|
||||
"collectors.filetime.file-patterns",
|
||||
"collector.filetime.file-patterns",
|
||||
"Comma-separated list of file patterns. Each pattern is a glob pattern that can contain `*`, `?`, and `**` (recursive). See https://github.com/bmatcuk/doublestar#patterns",
|
||||
).Default(strings.Join(ConfigDefaults.filePatterns, ",")).StringVar(&filePatterns)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user