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:
Jan-Otto Kröpke
2026-10-07 14:34:26 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 0e45202032
commit 7b20daa9ac
8 changed files with 254 additions and 49 deletions
+3
View File
@@ -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
```