-
Notifications
You must be signed in to change notification settings - Fork 808
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
feat(sdk-metrics-base): per metric-reader aggregation #3153
feat(sdk-metrics-base): per metric-reader aggregation #3153
Conversation
ccc296f
to
a9a058d
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3153 +/- ##
==========================================
- Coverage 93.21% 93.20% -0.02%
==========================================
Files 196 196
Lines 6443 6491 +48
Branches 1363 1370 +7
==========================================
+ Hits 6006 6050 +44
- Misses 437 441 +4
|
df29111
to
2c5d368
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.
Thanks for working on this! 🙂
Just a partial review for now, I'll try to continue tomorrow. 🙂
experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/AggregationSelector.ts
Outdated
Show resolved
Hide resolved
experimental/packages/opentelemetry-exporter-metrics-otlp-http/src/AggregationSelector.ts
Outdated
Show resolved
Hide resolved
experimental/packages/opentelemetry-sdk-metrics/src/export/MetricExporter.ts
Outdated
Show resolved
Hide resolved
Adding this to the milestone since it doesn't have a tracking issue |
fd1830c
to
fabdaf4
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.
Looks good, thanks for working on this! 🙂
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 looks good thanks
…ggregation # Conflicts: # experimental/packages/opentelemetry-sdk-metrics/src/index.ts # experimental/packages/opentelemetry-sdk-metrics/test/state/MeterSharedState.test.ts
Conflicts resolved. |
Which problem is this PR solving?
Add support for per-metric-reader aggregation support
Short description of the changes
sdk-metrics-base
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#metricreader
The spec requires the SDK to allow constructing a MetricReader with an optional aggregation selector and an optional aggregation temporality selector. These selectors are only applicable to the specific metric reader, and should not cause side effects on other metric readers.
Type of change
How Has This Been Tested?
Checklist: