tweak sentry config

This commit is contained in:
pa
2025-11-15 09:33:22 +09:00
committed by Natsumi
parent f2411a440c
commit d878bc57c4

View File

@@ -40,7 +40,7 @@ export async function initSentry(app) {
release: version,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0,
tracesSampleRate: 0.05,
tracesSampleRate: 0.001,
beforeSend(event, hint) {
const error = hint.originalException;
if (error && typeof error.message === 'string') {
@@ -75,7 +75,6 @@ export async function initSentry(app) {
blockAllMedia: true
}),
Sentry.browserTracingIntegration({ router }),
Sentry.browserProfilingIntegration(),
Sentry.vueIntegration({
tracingOptions: {
trackComponents: true