From 2799b63943d5302d3ad43e966aa7be39a120e615 Mon Sep 17 00:00:00 2001 From: openhands Date: Sat, 1 Aug 2026 18:18:53 +0200 Subject: [PATCH] perf(client): drop unused Sentry session-replay SDK from the client bundle --- src/instrumentation-client.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/instrumentation-client.ts b/src/instrumentation-client.ts index 522cbf1a..a8af6c24 100644 --- a/src/instrumentation-client.ts +++ b/src/instrumentation-client.ts @@ -9,15 +9,7 @@ if (dsn) { environment: process.env.NODE_ENV, release: process.env.NEXT_PUBLIC_APP_VERSION || process.env.APP_VERSION, tracesSampleRate: process.env.NODE_ENV === "production" ? 0.1 : 1.0, - replaysSessionSampleRate: 0, - replaysOnErrorSampleRate: 1.0, enabled: process.env.NODE_ENV === "production", - integrations: [ - Sentry.replayIntegration({ - maskAllText: true, - blockAllMedia: true, - }), - ], beforeSend: redactSentryEvent, }); }