Skip to content

Commit

Permalink
fix(react-router): Fix replay sample rate option names
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Dec 23, 2024
1 parent ddf922c commit e540d9f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Sentry.init({

// Set `tracePropagationTargets` to declare which URL(s) should have trace propagation enabled
tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/],

// Capture Replay for 10% of all sessions,
// plus 100% of sessions with an error
sessionReplaySampleRate: 1.0,
sessionReplayRecordingRate: 1.0,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});

startTransition(() => {
Expand Down

0 comments on commit e540d9f

Please sign in to comment.