From 7050de3512ebf49b28e7b86f8720e16cd110940d Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:22:34 -0500 Subject: [PATCH] Update Sentry Integrations --- sentry.client.config.ts | 1 + sentry.server.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/sentry.client.config.ts b/sentry.client.config.ts index d174104..7527e82 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -18,6 +18,7 @@ Sentry.init({ enableScreenshot: true, }), Sentry.replayCanvasIntegration(), + Sentry.browserProfilingIntegration(), ], // Set tracesSampleRate to 1.0 to capture 100% diff --git a/sentry.server.config.ts b/sentry.server.config.ts index 3695e3e..880b792 100644 --- a/sentry.server.config.ts +++ b/sentry.server.config.ts @@ -6,6 +6,7 @@ import * as Sentry from '@sentry/nextjs'; Sentry.init({ dsn: 'https://bb697105eaabbc6f70af12e84e936ded@o4508368569368576.ingest.us.sentry.io/4508368582017024', + integrations: [Sentry.prismaIntegration()], // Set tracesSampleRate to 1.0 to capture 100% // of transactions for tracing.