traces_sampler is not working #1044
Replies: 4 comments 13 replies
-
Hi @jgrygierek!
Do you mean by that that the |
Beta Was this translation helpful? Give feedback.
-
@Litarnus I want to reduce it, because currently I have too many spans, so limit is reached very quickly. And as I see spans number increase is still not changed. And still it is the same as previously. |
Beta Was this translation helpful? Give feedback.
-
The If you want to reduce the number of spans, you have to disable instrumentation: https://docs.sentry.io/platforms/php/guides/laravel/configuration/laravel-options/#more-configuration You can also reduce the sample rate further so you get less transaction and therefore not reach the limit as fast. If none of the above suits you, you can also configure a |
Beta Was this translation helpful? Give feedback.
-
Sorry, I'm new in Sentry. So basically what |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I use
laravel 10
+sentry/sentry-laravel 4.15.1
.sentry.php
config:'traces_sampler' => [TracesSampler::class, 'tracesSampler'],
TracesSampler.php
class:I checked it, path is correct,
if
is ok,0.2
is returned. But still in Sentry nothing is changed - spans number still is the same like for1.0
.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions