-
Notifications
You must be signed in to change notification settings - Fork 877
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
Move ExponentialHistogram data to internal package. #4217
Move ExponentialHistogram data to internal package. #4217
Conversation
/cc @jamesmoessis |
Codecov Report
@@ Coverage Diff @@
## main #4217 +/- ##
============================================
- Coverage 90.28% 90.26% -0.02%
+ Complexity 4749 4748 -1
============================================
Files 553 553
Lines 14600 14602 +2
Branches 1402 1402
============================================
- Hits 13182 13181 -1
- Misses 958 963 +5
+ Partials 460 458 -2
Continue to review full report at Codecov.
|
c7ea71a
to
9eccb06
Compare
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, just not sure what the .attach_pid10327 file is. Is that supposed to be there?
9eccb06
to
c762402
Compare
I approve..just need to put the "internal" scare text boilerplate on the public stuff moved in there. |
…nto eponentialhistogram-internal
DoubleExponentialHistogramData() {} | ||
public static ExponentialHistogramData empty() { | ||
return EMPTY; | ||
} | ||
|
||
/** | ||
* Create a DoubleExponentialHistogramData. |
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.
javadoc drift here
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.
looks good. a bit of javadoc drift with the renames, but other than that, good to go.
We almost assuredly will mark metrics SDK stable without exponential histograms in the first version. So for now, we should move the code to an internal package.
I'm hoping not, but based on open-telemetry/opentelemetry-specification#2304 (comment) we may do similar for Exemplar if it's not finished for metrics SDK stable release. Optimistically leaving it in place for now.