Fix sentry browser tracing

This commit is contained in:
2024-05-29 18:47:02 -04:00
parent 86a912cb01
commit 470654e4d7
3 changed files with 59 additions and 58 deletions

View File

@ -10,7 +10,8 @@ Sentry.init({
dsn:
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
undefined,
integrations: [new Sentry.BrowserTracing()],
// @ts-expect-error
integrations: [Sentry.browserTracingIntegration()],
tracesSampleRate: 0.1,
});