Skip to content

docs(sdk): add database query params to data-collection spec#18570

Open
ericapisani wants to merge 4 commits into
masterfrom
ep/data-collection-db
Open

docs(sdk): add database query params to data-collection spec#18570
ericapisani wants to merge 4 commits into
masterfrom
ep/data-collection-db

Conversation

@ericapisani

@ericapisani ericapisani commented Jun 26, 2026

Copy link
Copy Markdown
Member

Adds database.queryParams as a new configuration option to the SDK data-collection spec. This covers the ability for SDKs to include or omit parameters passed to database queries, consistent with how queryParams works for HTTP and how genAI inputs/outputs are handled.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Fixes PY-2562

Within the Python SDK, the existing `send_default_pii` gates the inclusion
of database parameters in spans and events for integrations such as `pymongo`,
`redis`, and `clickhouse_driver`.

There were previously no parameters within the spec that allowed for
control over the inclusion or filtering of these values, so introducing
these changes to close that gap.
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 26, 2026 7:29pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
sentry-docs Ignored Ignored Preview Jun 26, 2026 7:29pm

Request Review

@github-actions github-actions Bot added the sdk-develop-docs PRs touching develop-docs/sdk label Jun 26, 2026
@ericapisani ericapisani requested review from cleptric and s1gr1d June 26, 2026 18:58
@linear-code

linear-code Bot commented Jun 26, 2026

Copy link
Copy Markdown

PY-2562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant