Skip to content

Commit

Permalink
fix(sentry): reduce tracesSampleRate (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Oct 9, 2023
1 parent 7dcc59d commit 9601557
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions formulaire/sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ if (!sentryDsn) {
Sentry.init({
dsn: sentryDsn,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
tracesSampleRate: 0.2,
});
}
}
4 changes: 2 additions & 2 deletions formulaire/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ if (!sentryDsn) {
Sentry.init({
dsn: sentryDsn,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
tracesSampleRate: 0.2,
});
}
}
2 changes: 1 addition & 1 deletion sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ if (!sentryDsn) {
Sentry.init({
dsn: sentryDsn,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
tracesSampleRate: 0.2,
});
}
2 changes: 1 addition & 1 deletion sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ if (!sentryDsn) {
Sentry.init({
dsn: sentryDsn,
environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
tracesSampleRate: 0.2,
});
}

0 comments on commit 9601557

Please sign in to comment.