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; + }, }); }