Header only singletons are not working properly for Windows #2534
Labels
bug
Something isn't working
Stale
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
The opentelemetry-cpp API uses header only singletons, for example for the tracer provider.
When:
TracerProvider::SetTracerProvider()
in the main application codeTracerProvider::GetTracerProvider()
the shared library does not see the tracer provider installed in the main application.
As a result, opentelemetry is disabled in the shared library (the noop tracer provider is seen instead).
Related issues:
The issue about singletons for the Windows platform is known, but still not resolved.
The text was updated successfully, but these errors were encountered: