FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(httpx2): Support data_collection filtering for URL query params by ericapisani · Pull Request #7287 · getsentry/sentry-python · GitHub

feat(httpx2): Support data_collection filtering for URL query params - #7287

Open
ericapisani wants to merge 1 commit into
py-2742-httpx-data-collectionfrom
py-2743-httpx2-data-collection
Open

feat(httpx2): Support data_collection filtering for URL query params#7287
ericapisani wants to merge 1 commit into
py-2742-httpx-data-collectionfrom
py-2743-httpx2-data-collection

Conversation

ericapisani commented Aug 28, 2026
edited
Loading

Copy link
Copy Markdown
Member

Mirror the httpx integration: apply the data_collection.url_query_params
behaviour to httpx2 span attributes (url.full, url.query, url.fragment) and
breadcrumbs when span streaming is enabled, filtering sensitive query params
instead of relying solely on send_default_pii.

Fixes PY-2743
Fixes #7278

Mirror the httpx integration: apply the data_collection.url_query_params
behaviour to httpx2 span attributes (url.full, url.query, url.fragment) and
breadcrumbs when span streaming is enabled, filtering sensitive query params
instead of relying solely on send_default_pii.

Fixes PY-2743
Fixes #7278

linear-code Bot commented Aug 28, 2026

Copy link
Copy Markdown

PY-2743

ericapisani marked this pull request as ready for review August 28, 2026 18:06
ericapisani requested a review from a team as a code owner August 28, 2026 18:06

github-actions Bot commented Aug 28, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Codecov Results 📊

120167 passed | ⏭️ 6762 skipped | Total: 126929 | Pass Rate: 94.67% | Execution Time: 426m 20s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +1107
Passed Tests 📈 +1107
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2485 uncovered lines.
✅ Project coverage is 90.3%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/httpx2.py 100.00% ⚠️ 3 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.29%    90.30%    +0.01%
==========================================
  Files          193       193         —
  Lines        25601     25627       +26
  Branches      9436      9444        +8
==========================================
+ Hits         23116     23142       +26
- Misses        2485      2485         —
- Partials      1435      1441        +6

Generated by Codecov Action

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Update httpx2 integration to support data collection

1 participant


Back | FazBrowse Home | New Git URL