-
Notifications
You must be signed in to change notification settings - Fork 621
refactor: migrate away from deprecated addMetricReader for SDK 2.0
#2654
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
Conversation
This migrates from the deprecated `addMetricReader` method to the constructor option in preparation for the upcoming SDK 2.0 release. All usages are in tests and example code, there are no user-facing changes. Fixes open-telemetry#2646
|
This package does not have an assigned component owner and is considered unmaintained. As such this package is in feature-freeze and this PR will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature. |
addMetricReader for SDK 2.0addMetricReader for SDK 2.0
|
I'll sponsor this. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2654 +/- ##
=======================================
Coverage 90.96% 90.96%
=======================================
Files 172 172
Lines 8137 8137
Branches 1649 1649
=======================================
Hits 7402 7402
Misses 735 735 |
pichlermarc
left a comment
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 🙌
|
@pichlermarc updated the branch from the UI here, let me know if you need a proper rebase |
This migrates from the deprecated
addMetricReadermethod to the constructor option in preparation for the upcoming SDK 2.0 release.This PR migrates all usages in the entire repository instead of per-package, since there aren't that many total occurrences and they are all in tests and example code. There are no user-facing changes, so I also didn't think there's anything useful to say in the CHANGELOG here.
Fixes #2646 (cc @pichlermarc @trentm)