Sentry not capturing the performance of the queue jobs and console commands #856
-
Hello Everyone, I have started exploring Sentry for tracking the performance and profiling of my Laravel application. While checking it out, I noticed that the performance of the queries or methods that are getting executed as part of queue jobs or console commands is getting tracked by sentry. Is it the limitation or am I missing anything with respect to configurations to track the same? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For queue jobs you can set We don't have it implemented for console commands since there are a lot of console commands that are not needed to be traced or are very long running ( |
Beta Was this translation helpful? Give feedback.
For queue jobs you can set
SENTRY_TRACE_QUEUE_ENABLED=true
in your.env
to enable that.We don't have it implemented for console commands since there are a lot of console commands that are not needed to be traced or are very long running (
php artisan queue:work
for example) and we haven't figured out a good way to select which should and should not be traced.