Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔇 Only record Sentry session replays when an error occurs (#2550)

Luke Vellaf674817009c5
diff --git a/apps/web/instrumentation-client.ts b/apps/web/instrumentation-client.ts
index 8cd762659..bd28961ac 100644
--- a/apps/web/instrumentation-client.ts
+++ b/apps/web/instrumentation-client.ts
@@ -18,9 +18,8 @@ Sentry.init({
replaysOnErrorSampleRate: 1.0,
- // This sets the sample rate to be 10%. You may want this to be 100% while
- // in development and sample at a lower rate in production
- replaysSessionSampleRate: 0.1,
+ // Only record replays for sessions with errors
+ replaysSessionSampleRate: 0,
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
integrations: [