Adjust Sentry replay sample rates for production
This commit is contained in:
parent
691133b282
commit
cc36d6a2dc
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue