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)