[exporters/prometheus] / [exporters/prometheusremotewrite] do not add _total
suffix to Sum metric types
#11837
Labels
bug
Something isn't working
comp:prometheus
Prometheus related issues
data:metrics
Metric related issues
priority:p2
Medium
Describe the bug
Currently
exporters/prometheus
andexporters/prometheusremotewrite
do not add_total
suffix metric for OpenTelemetry Sum type Metrics.The spec states:
Ref: https://opentelemetry.io/docs/reference/specification/metrics/datamodel/#sums-1
Steps to reproduce
Openetelemtry collector exports the following metric in its
:8888/metrics
telemetry endpoint:When it converts from Prometheus to OTel and then back to Prometheus it should become:
Because the counter is converted to Otel SUM Type:
What did you expect to see?
Sum type metrics having
_total
suffix.What did you see instead?
No
_total
suffix.What version did you use?
Version: 877066b
What config did you use?
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: