We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c1f71 commit 64ecb5dCopy full SHA for 64ecb5d
src/server/sentry.ts
@@ -8,13 +8,13 @@ const captureOptions: Sentry.NodeOptions =
8
sentryEnvironment === 'prod'
9
? {
10
// Tracing
11
- tracesSampleRate: 0.0001,
+ tracesSampleRate: 0.00001, // trace 1/10k events
12
// Set sampling rate for profiling - this is evaluated only once per SDK.init call
13
- profilesSampleRate: 0.0001,
+ profilesSampleRate: 0.00001, // profile 1/10k events
14
}
15
: {
16
- tracesSampleRate: 1.0,
17
- profilesSampleRate: 1.0,
+ tracesSampleRate: 0.01, // trace 1% of the events
+ profilesSampleRate: 0.01,
18
19
20
const sensitiveKeys = ['pg', 'x-connection-encrypted']
0 commit comments