-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/statsd] Add an exponential histogram option #12951
Conversation
…tor-contrib into jmacd/statsd_receiver
…tor-contrib into jmacd/statsd_receiver
This probably needs a rebase |
…tor-contrib into jmacd/statsd_receiver
…tor-contrib into jmacd/statsd_receiver
…tor-contrib into jmacd/statsd_receiver
Will leave this in draft until the testbed refactoring is complete. |
…tor-contrib into jmacd/statsd_receiver
This PR has been updated to use a new, separate copy of Lightstep's OTel exponential histogram mapping functions and data structure. Please take another look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully my last round of comments, generally looks great :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't been updated for the v0.62 changes yet, otherwise mostly addressed your feedback @mx-psi/
…tor-contrib into jmacd/statsd_receiver
Updated for v0.62.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, my only pending question is #12951 (comment) (also one small thing missing from the v0.62.0 bump).
I will merge after you reply @jmacd if @codeboten has no further comments
Co-authored-by: Pablo Baeyens <[email protected]>
…#12951) Adds a "histogram" option to enable the OTLP v0.11 auto-scaling exponential histogram aggregator for Timing and Histogram measurements. Co-authored-by: Pablo Baeyens <[email protected]>
Description:
Adds a "histogram" option to enable the OTLP v0.11 auto-scaling exponential histogram aggregator for Timing and Histogram measurements.
This uses the Histogram mapping functions and data structure implemented in github.com/lightstep/go-expohisto.
The same mapping functions and data structure are pending as for OTel-Go (e.g., open-telemetry/opentelemetry-go#3022); if OTel-Go agrees to expose these APIs, this module can be updated to use it directly, see:
open-telemetry/opentelemetry-go#3169
open-telemetry/opentelemetry-go#3170
Link to tracking Issue:
Fixes #5742
Testing: New tests added.
Documentation: README.md updated with examples including histogram configuration.