mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 10:09:05 +02:00
performancecounter: fix explicit instance lists and startup panics on invalid config (#2511)
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:
co-authored by
Claude Opus 5.5
parent
0e45202032
commit
7b20daa9ac
@@ -186,6 +186,9 @@ This key is optional.
|
||||
|
||||
Labels is a map of key-value pairs that will be added as labels to the metric.
|
||||
|
||||
Counters of the same object that share a metric name must differ in their labels, like `state` in the schema example above.
|
||||
Otherwise, they would produce identical series and the collector fails to start.
|
||||
|
||||
### Example
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user