Skip to content

Commit 4dbf12f

Browse files
committed
remove tracesSamplerate, as it is superseded by tracesSampler
1 parent d30802a commit 4dbf12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/monitoring.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function init() {
3333
if (samplingContext.request?.url?.includes('/resources/healthcheck')) {
3434
return 0
3535
}
36-
return 1
36+
return process.env.NODE_ENV === 'production' ? 1 : 0
3737
},
3838
beforeSendTransaction(event) {
3939
// ignore all healthcheck related transactions

0 commit comments

Comments
 (0)