Skip to content

Commit

Permalink
feat: reduce traces sample rate from 1 to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed Mar 9, 2024
1 parent 604384c commit ed54796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initSentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (/^(dev|staging|prod)/i.test(ENV.MODE) && !ENV.IS_STORYBOOK && !!ENV.SENTRY_D
matchRoutes,
}),
],
tracesSampleRate: 1.0,
tracesSampleRate: 0.5,
tracePropagationTargets: ["localhost", /^https:\/\/(www\.)?((demo|staging)\.)?gofixit.app/],
...(/^(staging|prod)/i.test(ENV.MODE) && {
tunnel: "/sentry-proxy",
Expand Down

0 comments on commit ed54796

Please sign in to comment.