Voeg tracing en environment/release-tags toe aan Sentry-configuratie
Continuous Integration / config (pull_request) Successful in 11s
Continuous Integration / prepare (pull_request) Successful in 1m17s
Continuous Integration / build (pull_request) Successful in 2m10s
Continuous Integration / test (pull_request) Successful in 1m58s
Continuous Integration / deploy-test (pull_request) Skipped

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-07-25 13:35:09 +02:00
co-authored by Junie
parent 7680feb29f
commit 524b5a6dc7
7 changed files with 38 additions and 3 deletions
+8 -1
View File
@@ -8,7 +8,14 @@ import { router } from './router';
const sentryDsn = import.meta.env.VITE_SENTRY_DSN;
if (sentryDsn) {
Sentry.init({ dsn: sentryDsn });
Sentry.init({
dsn: sentryDsn,
environment: import.meta.env.MODE,
release: __APP_VERSION__,
integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)],
// Low-traffic marketing site: capture all traces (lower this if traffic grows significantly).
tracesSampleRate: 1.0,
});
}
const rootElement = document.getElementById('root');