Skip to content

Commit cc36d6a

Browse files
authored
Adjust Sentry replay sample rates for production
1 parent 691133b commit cc36d6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/react-shared-libraries/src/sentry/initialize.sentry.client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export const initializeSentryClient = (environment: string, dsn: string) =>
1515
autoInject: false,
1616
}),
1717
],
18-
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.1,
19-
replaysOnErrorSampleRate: environment === 'development' ? 1.0 : 0.1,
18+
replaysSessionSampleRate: environment === 'development' ? 1.0 : 0.5,
19+
replaysOnErrorSampleRate: 1.0,
2020
});

0 commit comments

Comments
 (0)