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

Modify metrics example to shutdown without global shutdown method #1739

Merged

Conversation

cijothomas
Copy link
Member

To see if we need to keep global::shutdown() for metrics.

Copy link

codecov bot commented May 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.3%. Comparing base (348ec9e) to head (51a0b80).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1739     +/-   ##
=======================================
+ Coverage   71.0%   71.3%   +0.3%     
=======================================
  Files        135     136      +1     
  Lines      20751   20840     +89     
=======================================
+ Hits       14746   14877    +131     
+ Misses      6005    5963     -42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@TommyCpp TommyCpp left a comment

Choose a reason for hiding this comment

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

IIRC we never introduce the behavior that requires all loggers(meters for metrics) to be dropped before one can allow shutdown so it should work

@TommyCpp TommyCpp merged commit bf7b4a0 into open-telemetry:main May 11, 2024
20 checks passed
@cijothomas cijothomas deleted the cijothomas/metric-shutdown-example branch May 11, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants