Skip to content

Commit

Permalink
Decrease tracesSampleRate (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x authored Nov 13, 2023
1 parent 8f9ed4e commit 6c522f3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Sentry.init({
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.1
tracesSampleRate: 0.01
});

const scheduler = new Scheduler({
Expand Down
2 changes: 1 addition & 1 deletion deploy-web/sentry.client.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down
2 changes: 1 addition & 1 deletion deploy-web/sentry.edge.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down
2 changes: 1 addition & 1 deletion deploy-web/sentry.server.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down
2 changes: 1 addition & 1 deletion indexer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Sentry.init({
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 0.1
tracesSampleRate: 0.01
});

Sentry.setTag("chain", env.ActiveChain);
Expand Down
2 changes: 1 addition & 1 deletion landing/sentry.client.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down
2 changes: 1 addition & 1 deletion landing/sentry.edge.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down
2 changes: 1 addition & 1 deletion landing/sentry.server.config.js
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: 0.1,
tracesSampleRate: 0.01,
serverName: process.env.NEXT_PUBLIC_SENTRY_SERVER_NAME,
enabled: process.env.NODE_ENV === "production"
// ...
Expand Down

0 comments on commit 6c522f3

Please sign in to comment.