add sentry router tracing

This commit is contained in:
pa
2025-10-18 00:33:12 +09:00
committed by Natsumi
parent bed90d211b
commit 71d4e57900

View File

@@ -1,3 +1,5 @@
import { router } from './router';
import configRepository from '../service/config';
import * as Sentry from '@sentry/vue';
@@ -52,7 +54,7 @@ export async function initSentry(app) {
maskAllText: true,
blockAllMedia: true
}),
Sentry.browserTracingIntegration(),
Sentry.browserTracingIntegration({ router }),
Sentry.vueIntegration({
tracingOptions: {
trackComponents: true