-
Notifications
You must be signed in to change notification settings - Fork 833
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
Lower exclusive exponential histogram bounds #4700
Conversation
Codecov ReportBase: 90.12% // Head: 90.76% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #4700 +/- ##
============================================
+ Coverage 90.12% 90.76% +0.63%
+ Complexity 5093 4839 -254
============================================
Files 587 555 -32
Lines 15714 14430 -1284
Branches 1510 1402 -108
============================================
- Hits 14163 13097 -1066
+ Misses 1095 912 -183
+ Partials 456 421 -35
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Nice, all looks good to me
.../main/java/io/opentelemetry/sdk/metrics/internal/aggregator/ExponentialHistogramIndexer.java
Outdated
Show resolved
Hide resolved
.../main/java/io/opentelemetry/sdk/metrics/internal/aggregator/ExponentialHistogramIndexer.java
Show resolved
Hide resolved
.../io/opentelemetry/sdk/metrics/internal/aggregator/DoubleExponentialHistogramBucketsTest.java
Show resolved
Hide resolved
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
.../main/java/io/opentelemetry/sdk/metrics/internal/aggregator/ExponentialHistogramIndexer.java
Outdated
Show resolved
Hide resolved
.../main/java/io/opentelemetry/sdk/metrics/internal/aggregator/ExponentialHistogramIndexer.java
Outdated
Show resolved
Hide resolved
Great work here! Did this move any of the exponential histogram benchmarks? |
Here's the benchmarks before this change:
And here's the same benchmarks with this change:
Its useful to save these results locally and compare them using a diff tool. There's no noticeable difference that I can see. Some results are slightly higher, some results are slightly lower. The differences seem to be within the error margin resulting from not completely isolating the environment. I did notice that both with and without this change, the exponential histogram performs faster than explicit bucket histograms across the board. |
Implements spec PR #2633.
Resolves #4698.