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

Merged
merged 2 commits into from
Sep 20, 2024

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.

@lzchen lzchen merged commit 9d55b7f into Azure:main Sep 20, 2024
19 checks passed
@lzchen lzchen deleted the bugfix branch September 20, 2024 21:39
@TaylorN15
Copy link

When will this be released?

@lzchen
Copy link
Member Author

lzchen commented Sep 23, 2024

@TaylorN15

I have released a new version, PTAL: https://pypi.org/project/azure-monitor-opentelemetry-exporter/1.0.0b30/

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.

4 participants