Skip to content

Commit fbcc276

Browse files
authored
feat: reduce trace sampling (#2918)
1 parent 424d376 commit fbcc276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sentry.client.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Sentry.init({
99
dsn: 'https://f4f62da759bfe365562d0dfe080a255e@o4508407151525888.ingest.de.sentry.io/4510516896530512',
1010

1111
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
12-
tracesSampleRate: 1,
12+
tracesSampleRate: 0.01,
1313

1414
// Enable sending user PII (Personally Identifiable Information)
1515
// https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/options/#sendDefaultPii

sentry.server.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sentry.init({
88
dsn: 'https://f4f62da759bfe365562d0dfe080a255e@o4508407151525888.ingest.de.sentry.io/4510516896530512',
99

1010
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
11-
tracesSampleRate: 1,
11+
tracesSampleRate: 0.01,
1212

1313
// Enable sending user PII (Personally Identifiable Information)
1414
// https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/options/#sendDefaultPii

0 commit comments

Comments
 (0)