Skip to content

Commit

Permalink
Merge pull request #410 from MuckRock/sentry-sample-rate
Browse files Browse the repository at this point in the history
Sample 25 percent
  • Loading branch information
eyeseast authored Jan 23, 2024
2 parents d225575 + c8dadfd commit 026077d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (!IS_EMBED && SENTRY_DSN) {
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.5,
tracesSampleRate: 0.25,

// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
tracePropagationTargets: [
Expand All @@ -26,7 +26,7 @@ if (!IS_EMBED && SENTRY_DSN) {
],

// Capture Replay for 10% of all sessions,
// plus for 100% of sessions with an error
// plus for 50% of sessions with an error
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 0.5,
});
Expand Down

0 comments on commit 026077d

Please sign in to comment.