Issue
Despite setting traces_sample_rate
to 0.0
, transactions are still being sent to Sentry. How can I completely disable transactions in my Laravel application?
Applies To
- Users leveraging the Laravel SDK
Resolution
Setting traces_sample_rate
to 0.0
does not fully disable tracing. While it prevents transaction sampling, trace headers can still propagate leading to transactions being reported. To completely disable transactions in your Laravel project, set traces_sample_rate
to null
instead of 0.0
. This ensures that traces are not picked up or inherited.