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 · 0 comments
Open

Scheduled task tracing #853

jameshulse opened this issue Feb 15, 2024 · 0 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants