Fix Sentry sample rates for production environment

This commit is contained in:
Enno Gelhaus 2025-10-04 00:07:31 +02:00 committed by GitHub
parent 826f803174
commit df47e9f5ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
autoInject: false,
}),
],
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.5,
replaysSessionSampleRate: environment == 1.0,
replaysOnErrorSampleRate: 1.0,
profilesSampleRate: environment === 'development' ? 1.0 : 0.45,
profilesSampleRate: environment === 'development' ? 1.0 : 0.75,
});