From 7ff12a6d0f2a503da97e162130a85dcfe2f57d32 Mon Sep 17 00:00:00 2001 From: himself65 Date: Sun, 23 Apr 2023 23:40:59 -0500 Subject: [PATCH] build: reduce the sample rate to 0.1 --- apps/web/sentry.client.config.ts | 4 ++-- apps/web/sentry.edge.config.ts | 2 +- apps/web/sentry.server.config.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/sentry.client.config.ts b/apps/web/sentry.client.config.ts index b59f9cc07..426715aea 100644 --- a/apps/web/sentry.client.config.ts +++ b/apps/web/sentry.client.config.ts @@ -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()], }); diff --git a/apps/web/sentry.edge.config.ts b/apps/web/sentry.edge.config.ts index 6566c0f59..a001daaa7 100644 --- a/apps/web/sentry.edge.config.ts +++ b/apps/web/sentry.edge.config.ts @@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN; Sentry.init({ dsn: SENTRY_DSN, - tracesSampleRate: 1.0, + tracesSampleRate: 0.1, }); diff --git a/apps/web/sentry.server.config.ts b/apps/web/sentry.server.config.ts index 6566c0f59..a001daaa7 100644 --- a/apps/web/sentry.server.config.ts +++ b/apps/web/sentry.server.config.ts @@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN; Sentry.init({ dsn: SENTRY_DSN, - tracesSampleRate: 1.0, + tracesSampleRate: 0.1, });