Issue
I do not want to use Session Replay. I want to disable it, stop recording sessions, and avoid using my Replay quota.
Applies To
All SaaS Customers and Self-Hosted Users
Session Replay
Resolution
You cannot remove Session Replay from your Sentry plan or turn off the Replay quota line in billing. Latest plans include errors, spans, replays, and attachments as part of the product. You can stop sending replays by changing your SDK setup (or Loader settings).
If you use an SDK Sentry.init setup (most apps):
Remove all Session Replay configuration from your SDK initialization. That includes
replayIntegration()(and any other Replay integrations),replaysSessionSampleRate,replaysOnErrorSampleRate, and any Replay APIs such asSentry.getReplay(),start(),startBuffering(), orstop().Search your codebase for Replay-related imports and calls (for example
replayIntegration,replaysSessionSampleRate,replaysOnErrorSampleRate,getReplay) and remove them.Deploy the change. New sessions stop sending Replay data after the updated SDK ships to users.
See Session Replay configuration for your platform.
If you use the JavaScript Loader Script:
Disable Replays in the Loader / DSN project settings. Those toggles apply only to the Loader. For non-Loader apps, remove Replay from the SDK as above. See Why am I seeing Replays and Transactions accepted when I have disabled these on the DSN?.
If you only want fewer replays, not a full off:
Keep Replay in the SDK and lower sampling, use error-only sampling, or record selectively. See How can I configure Sentry Replays to only send data when an error occurs? and How do I record replays more selectively?.
To review Replay usage after you change sampling, see Manage Your Replay Quota.
