-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Description
Description
Today we faced the problem with counter export in openmetrics format: counter names keep being appended by "_total" suffices, one time for every new labelset.
This is how it looks in grafana metric browser after being collected by prometheus
Debug
The problem seems to be around the line
https://github.com/vesari/common/blob/6a86956d41af916f0c048f4988d93994bb865b9e/expfmt/openmetrics_create.go#L255
which modifies metric name inside the loop,
and was introduced in this commit.
Affected versions
github.com/prometheus/common v0.50.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels