Horizon is genuinely excellent, which is why the gap it leaves catches people off guard. It's the official Laravel queue dashboard, it's free, and on Redis it gives you a live view of every queue and worker. The catch is one word in that sentence: Redis. The day you move a queue to SQS, start on database queues to keep infrastructure simple, or inherit a stack that uses Beanstalkd, Horizon shows you nothing, and there's no config flag that fixes it, because the whole thing is built on Redis data structures. This guide is about what you do then.
What Horizon actually does
Horizon is a Redis-backed real-time dashboard for Redis queues. It provides:
- Live queue depth per queue
- Throughput (jobs/minute) per queue
- Worker process status
- Failed jobs list with retry
- Per-job-class runtime metrics (recent window)
- Current wait time per queue on the dashboard (the Metrics page charts throughput and runtime, not wait)
- Notifications when a queue's wait passes the
waitsthreshold
It's tightly coupled to Redis: the data structures it relies on (sorted sets, hashes) are Redis-native. That's why it doesn't work with other drivers.
Option A: DIY queue monitoring
Listen to Laravel's queue events in AppServiceProvider::boot() and write every job attempt to a database table. A job that throws but still has attempts left fires JobReleasedAfterException, not JobProcessed or JobFailed, so listen for it too or retries vanish from your data:
app/Providers/AppServiceProvider.php
<?php
namespace App\Providers;
use Illuminate\Queue\Events\JobFailed;
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Queue\Events\JobReleasedAfterException;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
public function boot(): void
{
$record = function (object $event, string $status, ?string $exception = null): void {
DB::table('job_attempts')->insert([
'job_class' => $event->job->resolveName(),
'queue' => $event->job->getQueue(),
'connection' => $event->connectionName,
'attempt' => $event->job->attempts(),
'status' => $status,
'exception' => $exception,
'attempted_at' => now(),
]);
};
Event::listen(function (JobProcessed $event) use ($record) {
$record($event, $event->job->isReleased() ? 'released' : 'processed');
});
Event::listen(function (JobReleasedAfterException $event) use ($record) {
$record($event, 'released');
});
Event::listen(function (JobFailed $event) use ($record) {
$record($event, 'failed', $event->exception->getMessage());
});
}
}
Build a simple Livewire dashboard on top. Works, but now you own: the schema, the retention policy, the aggregation queries, the UI, and the on-call for when the monitoring itself breaks. Cheap in dollars, expensive in time. To record how long each job waited before it started, add the JobProcessing listener from the queue latency guide.
Option B: Full APM with cross-driver queue monitoring
Laravel's nightwatch package records every job attempt automatically across all drivers. NightOwl consumes that data and surfaces it as a proper queue monitoring dashboard:
- Per-job-class queued, processed, released and failed counts, with avg and p95 duration
- Duration charts per class at p50, p95 and p99
- Per-attempt detail with full exception context, and the queue wait before each attempt in the trace timeline
- Retry visibility: see every attempt, not just the terminal state
- Alerts when a job throws a new exception or a run crosses its duration threshold
The tradeoff vs Horizon: APMs are near-real-time (seconds of lag), not instant. For live "is the queue draining right now" views, Horizon on Redis is still the better tool. For historical job data and cross-driver coverage, an APM fills the gap.
When to keep using Horizon
If you're on Redis and only need real-time views, stick with Horizon. It's free and purpose-built. Add a tool like NightOwl when you need:
- Historical data beyond Redis retention
- Queue monitoring integrated with request, query, and exception monitoring
- Alerts on job exceptions that don't require extending Horizon yourself
- Multi-driver coverage if parts of your stack use SQS or database queues