Skip to content

Commit

Permalink
Some help for transaction limits
Browse files Browse the repository at this point in the history
  • Loading branch information
adonispuente committed Jun 28, 2024
1 parent 9574d6b commit ba07d80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
});
}

Expand Down

0 comments on commit ba07d80

Please sign in to comment.