Skip to content

Commit

Permalink
change sentry sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 31, 2024
1 parent 17afce0 commit 04df47f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ if (window.SENTRY_DSN) {
}),
],
// Performance Monitoring
tracesSampleRate: 1.0, // Capture 100% of the transactions
tracesSampleRate: 0.05, // Capture 100% of the transactions
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
// tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
// Session Replay
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
replaysSessionSampleRate: 0.01, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
});
}

0 comments on commit 04df47f

Please sign in to comment.