docs(sdk): Add queue arguments configuration to data collection spec#18637
Merged
Conversation
Document the `queues.taskArguments` option for controlling collection of arguments passed to tasks within queues. Bump spec_version to 0.7.0 and update the changelog accordingly.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
ericapisani
commented
Jul 3, 2026
cleptric
reviewed
Jul 7, 2026
s1gr1d
approved these changes
Jul 8, 2026
s1gr1d
approved these changes
Jul 8, 2026
| | `graphQL` | `{ document?, variables? }` | Both `true` | 0.5.0 | For `document`: Collect the GraphQL document. <br /><br /> For `variables`: Collect the variables that are passed to GraphQL operations. | | ||
| | `genAI` | `{ inputs?, outputs? }` | Both `true` | 0.1.0 | For `inputs`: Include the content of generative AI inputs (e.g. prompt text, tool call arguments). <br /><br /> For `outputs`: Include the content of generative AI outputs (e.g. completion text, tool call results). Metadata such as model name and token counts is always collected regardless of these settings. | | ||
| | `database` | Boolean | `true` | 0.6.0 | Include parameters/arguments passed to database queries, or the results of a query. | | ||
| | `databaseQueryData` | Boolean | `true` | 0.6.0 | Include data that's associated with database queries (inputs and outputs). | |
Member
There was a problem hiding this comment.
This might be a bit too vague.
Maybe something like this: "Include the data a database operation reads and writes (e.g. query text/statement values, bind parameters, operation payloads and returned results). Structural metadata is always collected (e.g. query summary, operation, table, system)."
Member
Author
There was a problem hiding this comment.
I can update this to give some more concrete examples, but I'm trying to stay away from writing "query text" because this would likely cause some confusion given db.query.textis not gated by the PII flag and where we store the query text today.
ericapisani
added a commit
to getsentry/sentry-python
that referenced
this pull request
Jul 8, 2026
…6770) Add a `queues` boolean to the data collection spec, gated by send_default_pii like other PII-bearing fields. Depends on getsentry/sentry-docs#18637 and the outcome of discussions there. Fixes PY-2679 Fixes #6739 --- <sub>Stack created with <a href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
ericapisani
added a commit
to getsentry/sentry-python
that referenced
this pull request
Jul 8, 2026
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.
Adds documentation for the
queues.taskArgumentsconfiguration option, which controls whether arguments passed to tasks within queues are collected. Bumps the data collection spec to version 0.7.0.queues.taskArgumentsoption to client options table and init snippetsspec_versionto 0.7.0 with changelog entrySome other small adjustments:
databaseconfiguration to also be a boolean valuegraphqlproperty tographQLFixes PY-2577
Fixes getsentry/sentry-python#6737