Skip to content

Shutting down the global tracer hangs #868

Closed
@dnaka91

Description

@dnaka91

I need to be able to swap out the global tracer instance at runtime, because it should be able to enable/disable without restarting the application (or change the endpoint URL).

I'm using opentelemetry-otlp for trace exporting, as the opentelemetry-jaeger crate is just too broken. When trying to shutdown the global tracer or trying to swap it, it just blocks on the internal Mutex forever.

I've seen several closed issues about this topic, but it seems this problem is not fully resolved yet, as it still hangs for me.

Metadata

Metadata

Assignees

Labels

A-traceArea: issues related to tracingquestionFurther information is requestedrelease:required-for-stableMust be resolved before GA release, or nice to have before GA.shutdown&runtime

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions