Skip to content

Commit

Permalink
reduce sentry profile sampling rate (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco authored Sep 9, 2024
1 parent ae965db commit 86cdb2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const initApiSentry = () => {

// Set sampling rate for profiling
// This is relative to tracesSampleRate
profilesSampleRate: 0.01,
profilesSampleRate: 0.001,

beforeSend(event, hint) {
const error = hint.originalException;
Expand Down
2 changes: 1 addition & 1 deletion apps/worker/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const initWorkerSentry = () => {

// Set sampling rate for profiling
// This is relative to tracesSampleRate
profilesSampleRate: 0.01,
profilesSampleRate: 0.001,

beforeSend: (event) => {
if (event.tags?.job && event.tags?.chain) {
Expand Down

0 comments on commit 86cdb2c

Please sign in to comment.