-
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
Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps #1412
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1412 +/- ##
=======================================
Coverage 78.8% 78.8%
=======================================
Files 131 130 -1
Lines 6753 6642 -111
=======================================
- Hits 5326 5239 -87
+ Misses 1167 1148 -19
+ Partials 260 255 -5
|
@open-telemetry/specs-metrics-approvers As I am trying to bring the OTel-Go metrics SDK into line with "Everything we will specify", this Quantile aggregation is something I'd like to remove. I was on the fence about adding timestamps and renaming the Array->Exact aggregator, but I think we want to keep an Exact aggregator that captures timestamps, so this is a small change in the forward direction. (Note: I'm hoping to relieve the @open-telemetry/go-approvers of this responsibility.) |
The PR looks good, just found some nitpicks. |
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@bogdandrutu Please review. |
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.
I would encourage to split this PR:
- Changes to array/exact aggregator
- Remove Quantile and Distribution export aggregation interfaces
- Remove DDSketch aggregator; we expect this will return after more histogram types are available.
@bogdandrutu Yes the three parts of this PR are logically independent and could be split in sequence. I think it's way more trouble than it's worth though. |
@jmacd I am not the maintainer, so my comment is just a suggestion. If I was the maintainer I would have pushed for this :) |
We talked about splitting this up in the SIG meeting yesterday and came to the decision that given the existing approvals we should progress as is. Though future PRs should follow the guidance you laid out @bogdandrutu. |
Where I can find the reason to remove quantile? |
I found out the reason: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#summary-legacy |
This is a cleanup of an area in the code that is not well exercised.
aggregator/array
toaggregator/exact
exact
aggregatorBefore:
After:
Although this updates the
exact
aggregator, that code is still not used within this repository. A future PR may add support to the OTLP exporter to export raw point values and timestamps.Closes #1417