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

opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again #3003

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Nov 14, 2024

Description

Fixes #2998

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

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 Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

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

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

@xrmx xrmx requested a review from a team as a code owner November 14, 2024 15:41
@xrmx xrmx force-pushed the httpx-static-regression branch from 2643507 to 19898df Compare November 14, 2024 17:46
@xrmx xrmx merged commit 803bb32 into open-telemetry:main Nov 14, 2024
566 checks passed
aabmass pushed a commit to aabmass/opentelemetry-python-contrib that referenced this pull request Nov 15, 2024
…ethod again (open-telemetry#3003)

* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again

* ADd changelog

* Can be a classmethod

---------

Co-authored-by: Leighton Chen <[email protected]>
aabmass added a commit that referenced this pull request Nov 15, 2024
…strument_client a staticmethod again (#3003) (#3008)

* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again (#3003)

* opentelemetry-instrumentation-httpx: make instrument_client a staticmethod again

* ADd changelog

* Can be a classmethod

---------

Co-authored-by: Leighton Chen <[email protected]>

* Move changelog entry to Unreleased section

---------

Co-authored-by: Riccardo Magliocchetti <[email protected]>
Co-authored-by: Leighton Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTPXClientInstrumentor.instrument_client is no longer a staticmethod, and documentation is out of date
5 participants