chore: only save 50% of the error replays

This commit is contained in:
Miodec 2025-05-03 23:26:46 +02:00
parent d02f41e2bd
commit 2b292b0423

View file

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