Skip to content
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

O11Y-3736: opentelemetry-dart: Deprecate MeterSharedState #139

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

michaelyeager-wf
Copy link
Contributor

Which problem is this PR solving?

MeterSharedState currently encapsulates actions which should be the responsibility of MeterProvider.

Short description of the change

In order to improve adherence to the OpenTelemetry specification, this PR moves state management responsibility for meters into MeterProvider and removes shared state classes.

How Has This Been Tested?

  • Confirmed that unit tests pass following these changes.

@aviary2-wf
Copy link

Security Insights

No security relevant content was detected by automated scans.

Action Items

  • Review PR for security impact; comment "security review required" if needed or unsure
  • Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@michaelyeager-wf
Copy link
Contributor Author

Since we haven't implemented MetricExporters, etc yet we won't be able to use a test application to verify these changes. The existing unit tests should be sufficient, since they verify that MeterProviders can be created and properly manage state. QA +1

Copy link
Contributor

@kennytrytek-wf kennytrytek-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelyeager-wf
Copy link
Contributor Author

Unit tests pass following this change.

QA +1

@michaelyeager-wf
Copy link
Contributor Author

@Workiva/release-management-p

Copy link

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

@rmconsole4-wk rmconsole4-wk merged commit 82174fc into master Nov 28, 2023
5 checks passed
@rmconsole4-wk rmconsole4-wk deleted the myeager-wf/O11Y-3736 branch November 28, 2023 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants