Prometheus exporter does not add _total suffixes to counters #2287
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What is the expected behavior?
From https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#sums:
What is the actual behavior?
Based on the unit test here:
opentelemetry-cpp/exporters/prometheus/test/exporter_utils_test.cc
Lines 107 to 119 in f52ec6c
The counter metric does not have a
_total
suffix appended.The text was updated successfully, but these errors were encountered: