Adjust Sentry replay sample rates for production

This commit is contained in:
Enno Gelhaus 2025-09-17 00:54:53 +02:00 committed by GitHub
parent 691133b282
commit cc36d6a2dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -15,6 +15,6 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
autoInject: false,
}),
],
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.1,
replaysOnErrorSampleRate: environment === 'development' ? 1.0 : 0.1,
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.5,
replaysOnErrorSampleRate: 1.0,
});