Issue
I have trouble staying within my reserved replay quota. I record too many replays and want to sample or capture them more selectively.
Applies To
All SaaS Customers
Web and Mobile Session Replay
Resolution
Use these methods to record Session Replay more selectively, ordered by impact:
Web + Mobile
Adjust sample rates:
replaysSessionSampleRatecontrols the percentage of overall sessions recorded, andreplaysOnErrorSampleRatecontrols the percentage of sessions with an error. Lower either value, or setreplaysSessionSampleRateto0to record replays only when an error occurs. See the Session Replay sampling documentation.
Web
Filter specific errors: use the beforeErrorSampling callback to decide which errors trigger a replay recording. See the custom sampling examples.
Take manual control: start and stop recording yourself when you need full control. See the manual replay documentation.
Mobile
Skip low-end devices: disable replay recording on lower-end devices to reduce volume and avoid added load on those devices.
These approaches give you significant flexibility to control your replay quota while focusing on the sessions that matter most to your debugging needs.
