-
Notifications
You must be signed in to change notification settings - Fork 410
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
Header only singletons are not working properly for Windows #2534
Comments
I've been running the |
This issue was marked as stale due to lack of activity. |
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: