Skip to content

Commit

Permalink
Merge pull request #403 from n0th1ng-else/sentry
Browse files Browse the repository at this point in the history
fix(sentry): Enforce sentry sampleRate to cope with Sentry limits
  • Loading branch information
n0th1ng-else committed Sep 13, 2024
2 parents 9a58d94 + 4ad11d7 commit bbac6b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/monitoring/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ export const initSentryNew = (): void => {
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: isDevelopment() ? 1.0 : 0.05,
profilesSampleRate: 1.0,
profilesSampleRate: isDevelopment() ? 1.0 : 0.2,
sampleRate: isDevelopment() ? 1.0 : 0.5,
});
};

Expand Down

0 comments on commit bbac6b4

Please sign in to comment.