Skip to content

Support httpx2 entry point exposed by the opentelemetry-instrumentation-httpx 0.65b0 - #48899

Draft
Radhika Gupta (rads-1996) wants to merge 3 commits into
Azure:mainfrom
rads-1996:support-httpx2
Draft

Support httpx2 entry point exposed by the opentelemetry-instrumentation-httpx 0.65b0#48899
Radhika Gupta (rads-1996) wants to merge 3 commits into
Azure:mainfrom
rads-1996:support-httpx2

Conversation

@rads-1996

@rads-1996 Radhika Gupta (rads-1996) commented Sep 3, 2026

Copy link
Copy Markdown
Member

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The shared dependency check produces warnings when only one of httpx or httpx2 is installed.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds Azure Monitor distro support for the new httpx2 OpenTelemetry instrumentation entry point.

Changes:

  • Enables and tests httpx2 instrumentation.
  • Adds its development dependency, documentation, sample configuration, and changelog entry.
File summaries
File Description
tests/utils/test_configurations.py Updates expected default configurations.
tests/instrumentation/test_httpx.py Exercises both HTTPX instrumentors.
samples/tracing/instrumentation_options.py Demonstrates enabling httpx2.
README.md Documents httpx2 support.
dev_requirements.txt Adds the test dependency.
CHANGELOG.md Records the feature.
_constants.py Enables the new entry point by default.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

"fastapi",
"flask",
"httpx",
"httpx2",
@rads-1996
Radhika Gupta (rads-1996) marked this pull request as draft September 3, 2026 23:38
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.

2 participants