From f9e3231661e125aa01d1fd4faa76737409f83f58 Mon Sep 17 00:00:00 2001 From: Max Eliseev Date: Wed, 13 Jul 2022 03:46:08 +0500 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BC=D0=B0=D1=82?= =?UTF-8?q?=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20=D1=82=D1=80?= =?UTF-8?q?=D0=B5=D0=B9=D1=81=D0=B8=D0=BD=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sentry.client.config.ts | 3 ++- sentry.server.config.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sentry.client.config.ts b/sentry.client.config.ts index b3b226e..4060357 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -12,7 +12,8 @@ const exceptionCapturers = [new ConsoleCapturer()] if (env.sentryDsn && typeof window !== "undefined") { const sentryCapturer = new SentryNextCapturer({ dsn: env.sentryDsn, - environment: env.sentryEnv + environment: env.sentryEnv, + tracesSampleRate: 0.2 }) exceptionCapturers.push(sentryCapturer) diff --git a/sentry.server.config.ts b/sentry.server.config.ts index 58eb01e..d83ec56 100644 --- a/sentry.server.config.ts +++ b/sentry.server.config.ts @@ -13,7 +13,8 @@ const exceptionCapturers = [new ConsoleCapturer()] if (env.sentryDsn) { const sentryCapturer = new SentryNextCapturer({ dsn: env.sentryDsn, - environment: env.sentryEnv + environment: env.sentryEnv, + tracesSampleRate: 0.2 }) exceptionCapturers.push(sentryCapturer)