Repository navigation
docs(dotnet): Document ConfigureDataCollection and add a data collection setup step - #20977
Merged
Merged
Conversation
…ion setup step Add the ConfigureDataCollection reference entry to the .NET options page, rewrite the Data Collected page category by category against its Data Collection fields and legacy SendDefaultPii behavior, and point the Android and Apple Session Replay options at the fact that Data Collection doesn't affect Replay. Add a "Control the Data You Send to Sentry (Optional)" step to the .NET getting-started pages (all guides except Xamarin), with ASP.NET Core and Google Cloud Functions variants. Must not merge before sentry-dotnet 7.1.0 ships. Closes getsentry/sentry-dotnet#5851 Closes getsentry/sentry-dotnet#5852 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
SentryRequest and Response headers always replace Authorization and Proxy-Authorization values with [Filtered], regardless of Data Collection and including headers the app sets itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 26, 2026
ric-oliv
reviewed
Nov 30, 2026
- URL credentials: only the HTTP handler's spans, breadcrumbs and failed-request events always drop them; other breadcrumbs and span descriptions redact them only while SendDefaultPii is false. - Say once that Data Collection doesn't filter log messages. - SQL: only EF6 adds its own breadcrumbs; EF Core command logs keep literals. - HTTP client spans drop query and fragment; breadcrumbs keep the fragment. - Mention the extra cookie-name terms, the MAUI IsEnvironmentUser default, and that SENTRY0001 is a build error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
DESCRIBE YOUR PR
Documents the .NET SDK's
ConfigureDataCollectionoption, the successor toSendDefaultPii(getsentry/sentry-dotnet#5420), and adds a data collection step to the .NET getting-started pages, following the JavaScript pattern from #19208.Don't merge before sentry-dotnet 7.1.0 ships. The method exists since 6.13.0, but no integration reads it until 7.1.0, so the docs say "Available since 7.1.0".
ConfigureDataCollectionentry: fields and defaults,KeyValueCollectionBehavior,HttpBodiesflags,appsettings.jsonbinding, Android/Cocoa forwarding, and migrating fromSendDefaultPii.RedactedHeaders.cslink, URL credentials withSendDefaultPii, SQL literals, and the machine name on ASP.NET.Closes getsentry/sentry-dotnet#5851
Closes getsentry/sentry-dotnet#5852
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace
YYYY-MM-DDwith the due date. You can update this information later by editing the PR description.SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes:
🤖 Generated with Claude Code