Skip to content

Commit

Permalink
reduce sentry profile sampling rate
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Sep 9, 2024
1 parent ae965db commit ef38277
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 ef38277

Please sign in to comment.