Open
Description
Problem Statement
We currently drop exponential histograms in the prometheus exporter:
opentelemetry-go/exporters/prometheus/exporter.go
Lines 226 to 239 in 48fedfa
Proposed Solution
We should convert them to prometheus native histograms per https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#exponential-histograms
Additional Context
Related to open-telemetry/opentelemetry-collector-contrib#33703
This is currently difficult to do because we use prometheus.NewConstHistogram here:
There is no NewConstNativeHistogram in the prometheus client. We would currently need to implement the prometheus.Metric interface directly, which is a bit more work.
Metadata
Metadata
Assignees
Type
Projects
Status
No status