Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix(sentry): reduce tracesSampleRate
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Oct 5, 2023
1 parent 94171c1 commit 15b62a1
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.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sentry.init({
dsn: SENTRY_DSN ?? "",
environment: SENTRY_ENV ?? "development",
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
// ...
// 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.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sentry.init({
dsn: SENTRY_DSN ?? "",
environment: SENTRY_ENV ?? "development",
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1.0,
tracesSampleRate: 0.1,
// ...
// 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 15b62a1

Please sign in to comment.