Skip to content

Commit c51acf3

Browse files
committed
chore: dont sample random sessions without errors
1 parent 255c4b9 commit c51acf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/sentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function init(): void {
2929
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
3030
tracePropagationTargets: ["localhost", /^https:\/\/api\.monkeytype\.com/],
3131
// Session Replay
32-
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
32+
replaysSessionSampleRate: 0, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
3333
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
3434
allowUrls: ["https://*.monkeytype.com"],
3535
ignoreErrors: [

0 commit comments

Comments
 (0)