docs: fix collector flag names and process counter-version default (#2508)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-07 16:19:45 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent eea3689ec9
commit 0e45202032
12 changed files with 36 additions and 40 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func NewWithFlags(app *kingpin.Application) *Collector {
app.Flag(
"collector.process.counter-version",
"Version of the process collector to use. 1 for Process V1, 2 for Process V2. Defaults to 0 which will use the latest version available.",
"Version of the process collector to use. 1 for Process V1, 2 for Process V2, 0 for Process V2 with fallback to Process V1 if V2 is not available. Defaults to 1.",
).Default(strconv.FormatUint(uint64(c.config.CounterVersion), 10)).Uint8Var(&c.config.CounterVersion)
app.Action(func(*kingpin.ParseContext) error {