adjust sentry config and fix dialog behavior

This commit is contained in:
pa
2025-09-25 09:51:58 +09:00
committed by Natsumi
parent 88c66b284a
commit 001a79b83c
2 changed files with 24 additions and 8 deletions

View File

@@ -37,6 +37,7 @@ export async function initSentry(app) {
release: version,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
tracesSampleRate: 0.1,
beforeSend(event, hint) {
if (
event.request?.status &&
@@ -49,7 +50,13 @@ export async function initSentry(app) {
integrations: [
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true
blockAllMedia: false
}),
Sentry.browserTracingIntegration(),
Sentry.vueIntegration({
tracingOptions: {
trackComponents: true
}
})
]
});