Reduce Sentry sample rate for vue client

This commit is contained in:
Lorenz Padberg 2024-03-26 09:13:03 +01:00
parent f7727140ea
commit f1c27cf0e4
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ const registerPlugins = (app: any) => {
dsn: import.meta.env.SENTRY_DSN,
environment: import.meta.env.SENTRY_ENVIRONMENT || 'localhost',
integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()],
tracesSampleRate: 1.0,
replaysSessionSampleRate: 1.0,
tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.05,
replaysOnErrorSampleRate: 1.0,
});
}