feat(httpx): Support data_collection filtering for URL query params - #7286
Open
ericapisani wants to merge 1 commit into
Open
feat(httpx): Support data_collection filtering for URL query params#7286ericapisani wants to merge 1 commit into
ericapisani wants to merge 1 commit into
Conversation
Apply the data_collection.url_query_params behaviour to httpx 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-2742 Fixes #7277
ericapisani
marked this pull request as ready for review
August 28, 2026 18:06
Contributor
Codecov Results 📊✅ 119552 passed | ⏭️ 6762 skipped | Total: 126314 | Pass Rate: 94.65% | Execution Time: 415m 56s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2485 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 90.30% 90.30% —%
==========================================
Files 193 193 —
Lines 25601 25614 +13
Branches 9436 9440 +4
==========================================
+ Hits 23116 23129 +13
- Misses 2485 2485 —
- Partials 1435 1438 +3Generated 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply the data_collection.url_query_params behaviour to httpx 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-2742
Fixes #7277