You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataCollection: Session Replay must not be gated by DataCollection (spec 0.10.0) #5852
Part of #5420. Spec requirement added in dataCollection spec 0.10.0.
Session Replay is not gated by DataCollection (or by its predecessor SendDefaultPii). Replay has its own opt-in privacy model — by default it masks all text, images and user input — which is the opposite of the DataCollection opt-out model. Wiring the two together would flip privacy-sensitive defaults for existing Replay users and confuse which layer controls masking.
Per spec:
SDKs MUST NOT change what Session Replay captures based on DataCollection.
Replay's masking and network-capture behavior MUST remain controlled exclusively by the Replay integration's own privacy options.
SDK documentation SHOULD explicitly state that DataCollection does not affect Session Replay, so users are not surprised by the exception.
Work for .NET (we expose Replay via the native Android/Cocoa layers):
Confirm no DataCollection value is forwarded into native Replay options — relevant to DataCollection phase 2: propagate to native (Android/Cocoa) #5436, where we map the resolved config onto SentryObjCOptions / the Android options. Replay options (SessionReplay, SentryObjCReplayOptions) must be left untouched by that mapping.
Add a regression test locking the exclusion in, so a future broadening of the native mapping cannot silently change Replay masking.
Add the documentation note to the .NET Replay / data-management pages in getsentry/sentry-docs.
The SDK side is done in #5960. DataCollection doesn't touch Session Replay on Android or iOS, and ApplyDataCollection_Configured_LeavesSessionReplayUntouched covers both. What's left is a docs note that DataCollection doesn't affect Replay, which fits with the docs work in #5851.
Activity
linear-code commentedon Nov 2, 2026
NET-902
jamescrosswell commentedon Nov 26, 2026
The SDK side is done in #5960. DataCollection doesn't touch Session Replay on Android or iOS, and
ApplyDataCollection_Configured_LeavesSessionReplayUntouchedcovers both. What's left is a docs note that DataCollection doesn't affect Replay, which fits with the docs work in #5851.docs(dotnet): Document ConfigureDataCollection and add a data collect…