From ba07d803bda4ba955f3b4ff53776e7f48779ea47 Mon Sep 17 00:00:00 2001 From: Adonis Puente Date: Fri, 28 Jun 2024 14:46:51 -0500 Subject: [PATCH] Some help for transaction limits --- src/utils/sentry.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/utils/sentry.ts b/src/utils/sentry.ts index f89506974..9dacbb17d 100644 --- a/src/utils/sentry.ts +++ b/src/utils/sentry.ts @@ -99,6 +99,13 @@ function initSentry() { return event; }, + //These two apps will not be set up as of now. This helps limit transacations + beforeSendTransaction: (event) => { + if (event?.contexts?.app?.app_name === 'subscriptions' || event.contexts?.app?.app_name === 'image-builder') { + return null; + } + return event; + }, }); }