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

fix(server): fix Metrics error: reader is shut down or not registered #1129

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

seriousben
Copy link
Member

@seriousben seriousben commented Dec 20, 2024

Context

Dependencies upgrade caused metrics/service to stop functioning with the error:

OpenTelemetry metrics error occurred. Metrics error: reader is shut down or not registered

What

This is caused by the SDKMeterProvider to be dropped before the end of the program.

This PR fixes it.

Testing

Contribution Checklist

  • If the python-sdk was changed, please run make fmt in python-sdk/.
  • If the server was changed, please run make fmt in server/.
  • Make sure all PR Checks are passing.

@seriousben seriousben force-pushed the seriousben/fix-metrics-reader-is-closed-error branch from 3989ce0 to 2111ba7 Compare December 20, 2024 15:31
@seriousben seriousben merged commit 6c45f54 into main Dec 20, 2024
8 checks passed
@seriousben seriousben deleted the seriousben/fix-metrics-reader-is-closed-error branch December 20, 2024 15:46
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.

2 participants