Skip to content

docs(java): Document v9 Data Collection changes - #20982

Draft
adinauer wants to merge 2 commits into
java-v9from
docs/java-v9-remove-send-default-pii
Draft

adinauer wants to merge 2 commits into
java-v9from
docs/java-v9-remove-send-default-pii

Conversation

@adinauer

@adinauer adinauer commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

Updates the Java and Android v9 documentation for sentry-java#6793 and sentry-java#6814.

Active reference pages and setup examples no longer expose sendDefaultPii or forceDataCollection(). The migration guides describe the Data Collection defaults that now apply automatically and show how to preserve a restrictive collection policy with explicit category settings.

The Data Collection and sensitive-data pages now explain that urlQueryParams also controls URL fragments. Sensitive fragment parameters are filtered by default, plain anchors and hash-route paths are preserved, and OFF omits the full fragment. The Java guidance also clarifies that OpenTelemetry-derived headers are controlled by OpenTelemetry capture configuration rather than Data Collection.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: 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 supplied a deadline.

PRE-MERGE CHECKLIST

  • 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

Remove the retired option from Java and Android reference pages and update
examples for automatic Data Collection defaults. Add v9 migration guidance
for explicit category opt-outs and changed header filtering.

Refs JAVA-744
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Nov 30, 2026 3:55pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Nov 30, 2026 3:55pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Nov 26, 2026
@codeowner-assignment
codeowner-assignment Bot requested review from a team, 0xadam-brown and runningcode and removed request for a team November 26, 2026 15:27
Explain that Java and Android v9 apply the URL query parameter Data Collection policy to URL fragments. Update the migration and sensitive-data guidance, and correct the OpenTelemetry header policy.

Co-Authored-By: Claude <[email protected]>
@adinauer adinauer changed the title docs(java): Document sendDefaultPii removal docs(java): Document v9 Data Collection changes Nov 30, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team November 30, 2026 15:50

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 37e5c48c Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant