Poor Histogram Support for the Prometheus Exporter #5782
Labels
bug
Something isn't working
pkg:OpenTelemetry.Exporter.Prometheus.AspNetCore
Issues related to OpenTelemetry.Exporter.Prometheus.AspNetCore NuGet package
Package
OpenTelemetry.Exporter.Prometheus.AspNetCore
Package Version
Runtime Version
net6.0
Description
The first issue I experienced: enabling exponential histograms using the
Base2ExponentialHistogramConfiguration
resulted in no histograms at all. I could not find anything in the docs, until is read #4337It would be great to mention this more prominently somwhere in the docs.
I then tried to modify the
Boundaries
of theExplicitBucketHistogramConfiguration
explicitly, because I need much higher values than 10000 - still the default buckets are used.Is this simply not working, or am I missing something?
I will now try to workaround the whole issue, by pushing metrics directly via the new OTEL endpoint of prometheus instead.
If this is the recommended way because many features simply do not work with the prom exporter, please consider leaving a note in the docs as well.
Steps to Reproduce
Expected Result
histogram recordings are available in custom buckets in prometheus
Actual Result
histogram recordings are available in default buckets in prometheus
Additional Context
No response
The text was updated successfully, but these errors were encountered: