Skip to content

Commit

Permalink
Reduce Sentry traces rate
Browse files Browse the repository at this point in the history
  • Loading branch information
qgerome committed Aug 2, 2022
1 parent 1376365 commit 3c67886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sentry.init({
dsn: publicRuntimeConfig.SENTRY_DSN,
environment: publicRuntimeConfig.SENTRY_ENVIRONMENT,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
tracesSampleRate: 0.005,
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
Expand Down
2 changes: 1 addition & 1 deletion sentry.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Sentry.init({
dsn: publicRuntimeConfig.SENTRY_DSN,
environment: publicRuntimeConfig.SENTRY_ENVIRONMENT,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
tracesSampleRate: 0.005,
// ...
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
Expand Down

0 comments on commit 3c67886

Please sign in to comment.