-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Improve JS Instrumentation Docs #4052
Improve JS Instrumentation Docs #4052
Conversation
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.
@open-telemetry/javascript-maintainers Please have a look!
It seems like this change is released, which would make it good, but I'd like @open-telemetry/javascript-approvers to confirm |
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.
Yep, that's the new way of adding MetricReader
s
Thanks for taking care of this. 👍
thank you @legalimpurity ! |
Since open-telemetry/opentelemetry-js#4427 the method addMetricReader on MeterProvider is deprecated and will be removed in SDK 2.0. Would be better if we remove deprecated methods from documentation and change the sample code to reflect the new way to add metric reader.