Skip to content

Commit 2b292b0

Browse files
committed
chore: only save 50% of the error replays
1 parent d02f41e commit 2b292b0

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
@@ -33,7 +33,7 @@ export function init(): void {
3333
tracePropagationTargets: ["localhost", /^https:\/\/api\.monkeytype\.com/],
3434
// Session Replay
3535
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.
36-
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
36+
replaysOnErrorSampleRate: 0.5, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
3737
ignoreErrors: [
3838
/**
3939
* Thrown when firefox prevents an add-on from refrencing a DOM element that has been removed.

0 commit comments

Comments
 (0)