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

Fixes #3088 updated import library for set_logger_provider #3113

Conversation

hannah-jj
Copy link
Contributor

Description

Updated import library for set_logger_provider in docs/examples/logs/example.py. The method has moved from opentelemetry.sdk._logs to opentelemetry._logs in release 1.15.0 thus causing import error for users running the examples.py with version 1.15.0.

Fixes #3088

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • tox

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@lzchen lzchen added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 5, 2023
@srikanthccv srikanthccv merged commit af83ef1 into open-telemetry:main Jan 6, 2023
@srikanthccv srikanthccv mentioned this pull request Jun 8, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'set_logger_provider' no longer importable from 'opentelemetry.sdk._logs'
3 participants