-
Couldn't load subscription status.
- Fork 2
fix: H.stop should stop otel exporters #273
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -420,12 +420,14 @@ export const shutdown = async () => { | |
| if (providers.tracerProvider) { | ||
| await providers.tracerProvider.forceFlush() | ||
| await providers.tracerProvider.shutdown() | ||
| providers.tracerProvider = undefined | ||
| } else { | ||
| console.warn('OTEL shutdown called without initialized tracerProvider.') | ||
| } | ||
| if (providers.meterProvider) { | ||
| await providers.meterProvider.forceFlush() | ||
| await providers.meterProvider.shutdown() | ||
| providers.meterProvider = undefined | ||
|
||
| } else { | ||
| console.warn('OTEL shutdown called without initialized meterProvider.') | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.