build: reduce the sample rate to 0.1

This commit is contained in:
himself65
2023-04-23 23:40:59 -05:00
parent 339b133e3f
commit 7ff12a6d0f
3 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
replaysOnErrorSampleRate: 0.1,
integrations: [new Sentry.Replay()],
});

View File

@@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
});

View File

@@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
});