admin管理员组

文章数量:1300223

We dont use the replay feature of Sentry

And it's sending a massive number of events :

{"type":"replay_event"}

There seem to be no way to deactivate it in the admin settings.

Any idea on how to deactivate it through Sentry.init({}) ?

We dont use the replay feature of Sentry

And it's sending a massive number of events :

{"type":"replay_event"}

There seem to be no way to deactivate it in the admin settings.

Any idea on how to deactivate it through Sentry.init({}) ?

Share asked Jun 23, 2023 at 7:59 BrunoBruno 732 silver badges8 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 11

Replay will only be enabled if you explicitly opt in. Could you share your init block? It will contain:

At least one of the two with non 0 values:

replaysSessionSampleRate replaysOnErrorSampleRate

If you remove them. No replay will be sent.

In case you're using the sentry Loader instead. Where you just add the script tag yo your site. You can turn off sentry replay without redeploying your app.

In the project setting you go to Client Keys (DSN), click on Configure and the options for controlling performance monitoring and replay will be there.

Docs at https://docs.sentry.io/platforms/javascript/session-replay/

本文标签: javascriptHow can I disable replay events in SentryStack Overflow