tweak sentry config

This commit is contained in:
pa
2025-11-15 09:33:22 +09:00
committed by Natsumi
parent f2411a440c
commit d878bc57c4
+1 -2
View File
@@ -40,7 +40,7 @@ export async function initSentry(app) {
release: version, release: version,
replaysSessionSampleRate: 0, replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0, replaysOnErrorSampleRate: 1.0,
tracesSampleRate: 0.05, tracesSampleRate: 0.001,
beforeSend(event, hint) { beforeSend(event, hint) {
const error = hint.originalException; const error = hint.originalException;
if (error && typeof error.message === 'string') { if (error && typeof error.message === 'string') {
@@ -75,7 +75,6 @@ export async function initSentry(app) {
blockAllMedia: true blockAllMedia: true
}), }),
Sentry.browserTracingIntegration({ router }), Sentry.browserTracingIntegration({ router }),
Sentry.browserProfilingIntegration(),
Sentry.vueIntegration({ Sentry.vueIntegration({
tracingOptions: { tracingOptions: {
trackComponents: true trackComponents: true