-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
It seems counter-intuitive to me that auto/sdk.TracerProvider does not have a Shutdown() method, while it can be used alongside custom traces just like with *sdktrace.TracerProvider which requires Shutdown() for proper resource cleanup.
Can someone clarify the design reasoning behind this? Is there a recommended approach for handling shutdown in applications that combine autosdk with manual traces?
Proposed Solution
Use Shutdown everywhere or clarify the reason why do I don't needed even with custom metrics.
Note
I do not want to keep the global tracer provider cause I want to be able to turn it on and off with the config variable.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request