Combining otlp
exporter with NewWithExactDistribution
and ValueRecorder
produces gauge in prometheus metrics
#1790
Labels
area:metrics
Part of OpenTelemetry Metrics
bug
Something isn't working
pkg:exporter:otlp
Related to the OTLP exporter package
Milestone
Description
From my understanding of the docs that I could find on this,
NewWithExactDistribution
should produce a large amount of data when looking at the prometheus metrics endpoint on theopentelemetry-collector
. Instead I get a gauge.When using:
I get the expected histogram output in the
/metrics
endpoint of the collector.When using:
I get a
gauge
instead. If this is expected behavior then it does not seem documented anywhere yet (understandable given the state of the API). However, from my understanding of the function's documentation, I should see histogram with possibly infinite buckets?Environment
Steps To Reproduce
opentelemetry-collector config
Expected behavior
I would expect a histogram or at least an additive output.
The text was updated successfully, but these errors were encountered: