Laravel Horizon's built-in alerting limited, additional monitoring tools required
Laravel Horizon's only native alert is 'LongWaitDetected', which triggers when a queue's estimated wait time exceeds a configurable threshold. This alert repeats every five minutes during the condition but never sends a recovery notification, and it fails if Horizon itself is down. Gauges from packages like spatie/laravel-prometheus can monitor if Horizon is running or paused, while counters are needed to track failure rates and job latency for actionable alerts. Some issues, like expired job reservations, do not generate any metrics and require direct checks of the queue state.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in