feat(ariadne): Gate GraphQL data collection behind data_collection option#6890
Draft
ericapisani wants to merge 1 commit into
Draft
feat(ariadne): Gate GraphQL data collection behind data_collection option#6890ericapisani wants to merge 1 commit into
ericapisani wants to merge 1 commit into
Conversation
…tion Filter the GraphQL document and variables attached to error events based on the structured data_collection configuration (graphql.document / graphql.variables), falling back to send_default_pii when data_collection is not set. The document remains subject to max_request_body_size; variables are not. When both are disabled, any request data attached by other integrations is scrubbed. Response body capture remains tied to send_default_pii.
ericapisani
marked this pull request as draft
July 24, 2026 20:06
Contributor
Codecov Results 📊✅ 97977 passed | ⏭️ 6410 skipped | Total: 104387 | Pass Rate: 93.86% | Execution Time: 349m 7s 📊 Comparison with Base Branch
➖ Removed Tests (1)View removed tests
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2512 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.71% 89.73% +0.02%
==========================================
Files 193 193 —
Lines 24392 24448 +56
Branches 8642 8690 +48
==========================================
+ Hits 21882 21936 +54
- Misses 2510 2512 +2
- Partials 1399 1403 +4Generated 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.
Filter the GraphQL document and variables attached to error events based on the structured data_collection configuration (graphql.document / graphql.variables), falling back to send_default_pii when data_collection is not set. The document remains subject to max_request_body_size; variables are not. When both are disabled, any request data attached by other integrations is scrubbed. Response body capture remains tied to send_default_pii.
Refs PY-2585
Refs #6745