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