Skip to content

Commit a336784

Browse files
committed
Try to ignore health check cache command
1 parent a487412 commit a336784

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/Util/Sentry.php

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class Sentry
2323

2424
public static function tracesSampler(SamplingContext $context): float
2525
{
26+
if ($context->getTransactionContext()?->getName() === 'health-check:cache-scheduler-running') {
27+
return 0;
28+
}
29+
2630
if ($context->getParentSampled() === true) {
2731
return 1;
2832
}

0 commit comments

Comments
 (0)