tweak sentry config

This commit is contained in:
pa
2025-09-26 21:39:39 +09:00
committed by Natsumi
parent b0517237ed
commit a0afc2bd6a
+3 -3
View File
@@ -35,9 +35,9 @@ export async function initSentry(app) {
dsn, dsn,
environment: 'nightly', environment: 'nightly',
release: version, release: version,
replaysSessionSampleRate: 0.1, replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0, replaysOnErrorSampleRate: 1.0,
tracesSampleRate: 0.1, tracesSampleRate: 0.05,
beforeSend(event, hint) { beforeSend(event, hint) {
if ( if (
event.request?.status && event.request?.status &&
@@ -50,7 +50,7 @@ export async function initSentry(app) {
integrations: [ integrations: [
Sentry.replayIntegration({ Sentry.replayIntegration({
maskAllText: true, maskAllText: true,
blockAllMedia: false blockAllMedia: true
}), }),
Sentry.browserTracingIntegration(), Sentry.browserTracingIntegration(),
Sentry.vueIntegration({ Sentry.vueIntegration({