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