diff --git a/app/sentry.client.config.js b/app/sentry.client.config.js index 1a4efed7a..5b85c99a1 100644 --- a/app/sentry.client.config.js +++ b/app/sentry.client.config.js @@ -11,7 +11,7 @@ if (process.env.NODE_ENV !== "development") { dsn: SENTRY_DSN, environment: SENTRY_ENV, release: `visualization-tool@${BUILD_VERSION}`, - tracesSampleRate: 1.0, + tracesSampleRate: 0.1, ignoreErrors: [ // The ResizeObserver error is actually not problematic // @see https://forum.sentry.io/t/resizeobserver-loop-limit-exceeded/8402 diff --git a/app/sentry.edge.config.js b/app/sentry.edge.config.js index 1652e1980..8731cf675 100644 --- a/app/sentry.edge.config.js +++ b/app/sentry.edge.config.js @@ -11,6 +11,6 @@ if (process.env.NODE_ENV !== "development") { dsn: SENTRY_DSN, environment: SENTRY_ENV, release: `visualization-tool@${BUILD_VERSION}`, - tracesSampleRate: 1.0, + tracesSampleRate: 0.1, }); } diff --git a/app/sentry.server.config.js b/app/sentry.server.config.js index 77ad69e6c..81998caf2 100644 --- a/app/sentry.server.config.js +++ b/app/sentry.server.config.js @@ -11,7 +11,7 @@ if (process.env.NODE_ENV !== "development") { dsn: SENTRY_DSN, environment: SENTRY_ENV, release: `visualization-tool@${BUILD_VERSION}`, - tracesSampleRate: 1.0, + tracesSampleRate: 0.1, instrumenter: { patch: (mod, path, logger) => { // Ignore auth calls to prevent 405 Keycloak errors.