Merge pull request #114 from trails-cool/disable-sentry-replays
Disable Sentry session replays
This commit is contained in:
commit
93befca4ac
2 changed files with 0 additions and 6 deletions
|
|
@ -18,12 +18,9 @@ Sentry.init({
|
|||
createRoutesFromChildren,
|
||||
matchRoutes,
|
||||
}),
|
||||
Sentry.replayIntegration(),
|
||||
],
|
||||
environment: sentryEnvironment,
|
||||
tracesSampleRate: sentryEnvironment === "ci" ? 0 : 1.0,
|
||||
replaysSessionSampleRate: sentryEnvironment === "ci" ? 0 : 1.0,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
enabled: import.meta.env.PROD && sentryEnvironment !== "ci",
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -18,12 +18,9 @@ Sentry.init({
|
|||
createRoutesFromChildren,
|
||||
matchRoutes,
|
||||
}),
|
||||
Sentry.replayIntegration(),
|
||||
],
|
||||
environment: sentryEnvironment,
|
||||
tracesSampleRate: sentryEnvironment === "ci" ? 0 : 1.0,
|
||||
replaysSessionSampleRate: sentryEnvironment === "ci" ? 0 : 1.0,
|
||||
replaysOnErrorSampleRate: 1.0,
|
||||
enabled: import.meta.env.PROD && sentryEnvironment !== "ci",
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue