Skip to content

Commit

Permalink
fix(sentry sampling): reduce by 75% our sentry trace sample rate to a…
Browse files Browse the repository at this point in the history
…void exceeding our quota
  • Loading branch information
gauthierpetetin committed Feb 27, 2025
1 parent 43a4a75 commit 07ab5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/sentry/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ export function setupSentry() {
environment,
integrations,
// Set tracesSampleRate to 1.0, as that ensures that every transaction will be sent to Sentry for development builds.
tracesSampleRate: isDev || isQa ? 1.0 : 0.04,
tracesSampleRate: isDev || isQa ? 1.0 : 0.01,
profilesSampleRate: 1.0,
beforeSend: (report) => rewriteReport(report),
beforeBreadcrumb: (breadcrumb) => rewriteBreadcrumb(breadcrumb),
Expand Down

0 comments on commit 07ab5fa

Please sign in to comment.