scoutapp / scout-apm-laravel

ScoutAPM PHP Agent for the Laravel Framework
MIT License
22 stars 12 forks source link

Add instrumentation for Laravel Queues #35

Closed asgrim closed 4 years ago

asgrim commented 4 years ago

https://laravel.com/docs/5.7/queues

it should look just like a web endpoint, but instead of making a Controller/class span, it makes a Job/jobclass span.

asgrim commented 4 years ago

Job durations are currently including the time waiting to process the next job, and also include the polling SQL queries (if using database as the queue backend) in the request. For this we really do need to reset the request only: