Skip to content

Commit

Permalink
chore: Reduce Sentry sample rates (100% -> 10%)
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Nov 29, 2023
1 parent 0f4e395 commit 0a5fd9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/sentry.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/sentry.edge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}
2 changes: 1 addition & 1 deletion app/sentry.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0a5fd9e

Please sign in to comment.