From c97cd7cd5dccb2fe107d4ac01ad800c4cb011b9b Mon Sep 17 00:00:00 2001 From: fanbook-wangdage <124357765+fanbook-wangdage@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Session=20Replay=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.ts b/src/main.ts index 30ba1db..c8dc3d9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -25,6 +25,9 @@ Sentry.init({ integrations: [Sentry.browserTracingIntegration()], tracesSampleRate: 0.2, tracePropagationTargets: ["localhost", "https://htserver.wdg.cloudns.ch/"], + // Session Replay + replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production. + replaysOnErrorSampleRate: 1.0 // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur. }); app.use(pinia)