Skip to content

Commit

Permalink
🔧 Reduce sentry sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella committed Dec 6, 2024
1 parent bd6c51f commit 1844eb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
tracesSampleRate: 0.2,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
tracesSampleRate: 0.2,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
tracesSampleRate: 0.2,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
Expand Down

0 comments on commit 1844eb3

Please sign in to comment.