We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d01ef4 commit 0a025dbCopy full SHA for 0a025db
prometheus/collector_metric.go
@@ -23,7 +23,7 @@ func MeasureCollectTime(ch chan<- Metric, exporter, collector string) func() {
23
"collector_scrape_time_ms",
24
"Time taken for scrape by collector",
25
[]string{"exporter"},
26
- Labels{"collector": collector},
+ Labels{"collector": collector}, // to have ID calculated correctly
27
)
28
29
return func() {
0 commit comments