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 45ed95e commit 4a71fd8Copy full SHA for 4a71fd8
server/utils/monitoring.ts
@@ -32,7 +32,7 @@ export function init() {
32
if (samplingContext.request?.url?.includes('/resources/healthcheck')) {
33
return 0
34
}
35
- return 1
+ return process.env.NODE_ENV === 'production' ? 1 : 0
36
},
37
beforeSendTransaction(event) {
38
// ignore all healthcheck related transactions
0 commit comments