Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled task tracing #853

Open
jameshulse opened this issue Feb 15, 2024 · 3 comments
Open

Scheduled task tracing #853

jameshulse opened this issue Feb 15, 2024 · 3 comments
Assignees

Comments

@jameshulse
Copy link

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.

image

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.

@rzv-me
Copy link
Contributor

rzv-me commented Jun 12, 2024

any progress on this, @jameshulse ? I am also very interested in this feature and might be able to pitch in

@cleptric
Copy link
Member

We're already discussing this, we might have some more news next week 🙂

@jameshulse
Copy link
Author

Fantastic @cleptric. I'm afraid I didn't get much further than this @rzv-me - hopefully the sentry team will figure it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants