Skip to content

Commit

Permalink
sentry traces added
Browse files Browse the repository at this point in the history
  • Loading branch information
unixvb committed Nov 18, 2024
1 parent 1519df9 commit 367e188
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if (isProd) {
levels: ['error', 'debug', 'assert']
}),
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
Sentry.browserApiErrorsIntegration({
setTimeout: true,
setInterval: true,
Expand All @@ -36,6 +37,8 @@ if (isProd) {
],
tracesSampleRate: 1.0,
tracePropagationTargets: ['localhost', /^https:\/\/rainbow\.ag/],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
sendDefaultPii: true
});

Expand Down

0 comments on commit 367e188

Please sign in to comment.