Skip to content

Commit

Permalink
Try half sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Dec 19, 2023
1 parent aca7b13 commit 45c31f5
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: 1.0,
tracesSampleRate: 0.5,

// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
tracePropagationTargets: [
Expand All @@ -28,7 +28,7 @@ if (!IS_EMBED && SENTRY_DSN) {
// Capture Replay for 10% of all sessions,
// plus for 100% of sessions with an error
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
replaysOnErrorSampleRate: 0.5,
});
});
} else {
Expand Down

0 comments on commit 45c31f5

Please sign in to comment.