Configure Sentry to sample 100% of errors and transactions

- Set tracesSampleRate to 1.0 for 100% transaction sampling
- Set sampleRate to 1.0 for 100% error sampling
- Ensures all JavaScript errors and performance data are captured

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-18 15:18:19 -05:00
parent dade93ee5c
commit 3c1aa29f82
No known key found for this signature in database

View file

@ -30,7 +30,8 @@ if (typeof window.Sentry !== 'undefined') {
integrations: [
new window.Sentry.BrowserTracing(),
],
tracesSampleRate: 0.1, // Capture 10% of transactions for performance monitoring
tracesSampleRate: 1.0, // Capture 100% of transactions for performance monitoring
sampleRate: 1.0, // Capture 100% of errors
beforeSend(event, hint) {
// Filter out known non-critical errors
if (hint.originalException?.message?.includes('ResizeObserver loop limit exceeded')) {