Skip to content
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

fix: HistogramAggregator returns sum when asked for count #398

Merged

Conversation

TommyCpp
Copy link
Contributor

@TommyCpp TommyCpp commented Dec 27, 2020

Find this bug when testing the otlp metric exporter. We still might need to add more tests around metrics. But I think this should fix the problem.

@TommyCpp TommyCpp requested a review from a team as a code owner December 27, 2020 19:43
Copy link
Member

@jtescher jtescher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Yeah need lots of tests before this can stabilize.

@jtescher jtescher merged commit c12f097 into open-telemetry:master Dec 27, 2020
@TommyCpp TommyCpp deleted the tommycpp/histogram_aggregator branch June 8, 2021 00:15
jan-xyz added a commit to jan-xyz/opentelemetry-rust that referenced this pull request Oct 1, 2021
0.13.0

Bug fix: Avoid panics from Instant::elapsed (open-telemetry#406)

Improvement: Allow trailing comma on macros (open-telemetry#390)

Improvement: Add macros for custom registry (open-telemetry#396)

Improvement: Export thread count from process_collector (open-telemetry#401)

Improvement: Add convenience TextEncoder functions to encode directly to string (open-telemetry#402)

Internal change: Clean up the use of macro_use and extern crate (open-telemetry#398)

Internal change: Update dependencies
TommyCpp added a commit that referenced this pull request Oct 5, 2021
* bump prometheus dependency to 0.13

0.13.0

Bug fix: Avoid panics from Instant::elapsed (#406)

Improvement: Allow trailing comma on macros (#390)

Improvement: Add macros for custom registry (#396)

Improvement: Export thread count from process_collector (#401)

Improvement: Add convenience TextEncoder functions to encode directly to string (#402)

Internal change: Clean up the use of macro_use and extern crate (#398)

Internal change: Update dependencies

* also update in example

Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants