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
feat(replay): add beforeErrorSampling callback to Session Replay (#5214)
* feat(replay): add `beforeErrorSampling` callback to Session Replay
Add a BeforeErrorSamplingCallback to SentryReplayOptions that lets
developers filter which errors trigger replay capture. The callback
runs before the onErrorSampleRate dice roll - returning false skips
captureReplay entirely.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* docs: add changelog entry for beforeErrorSampling callback
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* docs: use any{} in changelog example
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* Apply suggestion from @romtsn
---------
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
0 commit comments