You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
collected metric chronos_metrics_version label:<name:"version" value:"3.0.0" > gauge:<value:1 > was collected before with the same name and label values
Commenting the following in exporter.go helps:
case "version":
data := element.Data()
version, ok := data.(string)
if !ok {
log.Errorf(fmt.Sprintf("Bad conversion! Unexpected value \"%v\" for version\n", data))
} else {
gauge, _ := e.Gauges.Fetch("metrics_version", "Chronos metrics version", "version")
gauge.WithLabelValues(version).Set(1)
gauge.Collect(ch)
}
The text was updated successfully, but these errors were encountered:
Seeing this when scraping:
Commenting the following in
exporter.go
helps:The text was updated successfully, but these errors were encountered: