Skip to content

Commit 2d03795

Browse files
committed
Also ignore horizon:snapshot
1 parent a336784 commit 2d03795

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
@@ -27,6 +27,10 @@ public static function tracesSampler(SamplingContext $context): float
2727
return 0;
2828
}
2929

30+
if ($context->getTransactionContext()?->getName() === 'horizon:snapshot') {
31+
return 0;
32+
}
33+
3034
if ($context->getParentSampled() === true) {
3135
return 1;
3236
}

0 commit comments

Comments
 (0)