-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus exporter does not cumulatively sum histogram buckets #3281
Labels
bug
Something isn't working
Comments
albertlockett
added a commit
to albertlockett/opentelemetry-go
that referenced
this issue
Oct 13, 2022
I have seen the same behavior, including with the provided example code from /example/prometheus/main.go. Thanks, @albertlockett! |
albertlockett
added a commit
to albertlockett/opentelemetry-go
that referenced
this issue
Oct 13, 2022
Signed-off-by: albertlockett <albert.lockett@gmail.com>
MadVikingGod
pushed a commit
that referenced
this issue
Oct 14, 2022
This was referenced Oct 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Using the otel-go sdk to collect metrics with prometheus exporter does report the values in the bucket as a cumulative sum of the value for this bucket and the buckets of lower values.
If I do this:
I get an output like this:
Environment
Steps To Reproduce
here's a project that will reproduce
https://github.com/albertlockett/otel-go-metrics-test01/blob/main/go.mod
Expected behavior
I was expecting an output like this (this is the behaviour I get from opentelemetry-js)
The text was updated successfully, but these errors were encountered: