Skip to content

Conversation

@BryanFauble
Copy link
Contributor

Description

  1. Adds the import statement to the top of the python script for consistent as show in other examples like: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-httpx#instrumenting-all-clients
  2. Updates the example script to fix an extra ) that was included

Type of change

Please delete options that are not relevant.

  • Documentation update

How Has This Been Tested?

This change was found and tested as a part of a repo I am maintaining: https://github.com/Sage-Bionetworks/synapsePythonClient

Does This PR Require a Core Repo Change?

  • [X ] No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Changelogs have been updated (Not required per Contributing docs as behavior did not change)

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 12, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot requested a review from shalevr September 12, 2024 16:34
@emdneto emdneto added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 12, 2024
@xrmx xrmx merged commit bed13f5 into open-telemetry:main Sep 13, 2024
521 checks passed
@BryanFauble BryanFauble deleted the patch-1 branch September 13, 2024 15:09
lmolkova pushed a commit to lmolkova/opentelemetry-python-contrib that referenced this pull request Sep 14, 2024
…y#2868)

* Add consistent import statement for URLLibInstrumentor

* Correct code in example

* One last correction to doc to create instance
xrmx pushed a commit to xrmx/opentelemetry-python-contrib that referenced this pull request Jan 24, 2025
…y#2868)

* Add consistent import statement for URLLibInstrumentor

* Correct code in example

* One last correction to doc to create instance
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

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants