Enable sentry session replay
This commit is contained in:
@@ -10,7 +10,13 @@ Sentry.init({
|
|||||||
dsn:
|
dsn:
|
||||||
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
|
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
|
||||||
undefined,
|
undefined,
|
||||||
integrations: [Sentry.browserTracingIntegration()],
|
integrations: [
|
||||||
|
Sentry.browserTracingIntegration(),
|
||||||
|
Sentry.replayIntegration(),
|
||||||
|
],
|
||||||
|
replaysOnErrorSampleRate: 1,
|
||||||
|
replaysSessionSampleRate: 0.02,
|
||||||
|
sendDefaultPii: true,
|
||||||
tracesSampleRate: 0.1,
|
tracesSampleRate: 0.1,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user