Skip to content
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

Fix setting custom TracerProvider bug with no global TracerProvider #37469

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lzchen
Copy link
Member

@lzchen lzchen commented Sep 19, 2024

#36363 introduced a bug that errors out if no global TracerProvider is set before creating the AzureMonitorTraceExporter. Fixing this so that the export calls the global itself if no custom TracerProvider was used.

Addresses: #37460

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monitor - Exporter Monitor OpenTelemetry Exporter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants