From 71d4e57900337ea711de29f59306e2760e1ba6de Mon Sep 17 00:00:00 2001 From: pa Date: Sat, 18 Oct 2025 00:33:12 +0900 Subject: [PATCH] add sentry router tracing --- src/plugin/sentry.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin/sentry.js b/src/plugin/sentry.js index befbb817..521b027f 100644 --- a/src/plugin/sentry.js +++ b/src/plugin/sentry.js @@ -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