Skip to content

Commit 16eb479

Browse files
reduce tracesSampleRate to 0.05
1 parent 3c40dba commit 16eb479

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/site/cloudflare/worker-entrypoint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export default withSentry(
1717
sendDefaultPii: true,
1818
// Enable logs to be sent to Sentry
1919
enableLogs: true,
20-
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
20+
// Set tracesSampleRate to 0.05 to capture 5% of spans for tracing.
2121
// Learn more at
2222
// https://docs.sentry.io/platforms/javascript/guides/cloudflare/configuration/options/#tracesSampleRate
23-
tracesSampleRate: 1.0,
23+
tracesSampleRate: 0.05,
2424
}),
2525
{
2626
async fetch(

0 commit comments

Comments
 (0)