-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The Prometheus library appends the _total type suffix to all counter metrics, which you should remove when adding these metrics to the allowlist. If you forget or don't know that you have to remove this suffix from the endpoint output, you can easily make a mistake when filtering by the exact metric name (see strimzi/strimzi-kafka-operator#12142).
Prometheus also appends unit suffix (_bytes, _ratio and _milliseconds), so the issue is not limited to the type suffix (_total). As a minimum we should document this behavior in the README, but it would be good to export the original metrics name without any change as OTel collector does (open-telemetry/opentelemetry-collector#6403).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request