Open jameshulse opened 9 months ago
any progress on this, @jameshulse ? I am also very interested in this feature and might be able to pitch in
We're already discussing this, we might have some more news next week 🙂
Fantastic @cleptric. I'm afraid I didn't get much further than this @rzv-me - hopefully the sentry team will figure it out!
Problem Statement
I would like to have traces for when scheduled commands run via the
Console\Kernel
. We have some heavy jobs that run each hour and they have started failing. Sentry currently shows that the errors are related but doesn't know how.Solution Brainstorm
The Laravel scheduler has start/finish events (see: https://laravel.com/docs/10.x/scheduling#events) which a new Sentry tracing feature should be able to hook into to create a transaction.
I will potentially attempt this myself in the mean time, and if I make progress then I am happy to try and contribute back.