laravel:horizon:metrics-and-dashboards
Monitors and optimizes Laravel Horizon queue performance and observability.
Install
mkdir -p .claude/skills/laravel-horizon-metrics-and-dashboards && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17125" && unzip -o skill.zip -d .claude/skills/laravel-horizon-metrics-and-dashboards && rm skill.zipInstalls to .claude/skills/laravel-horizon-metrics-and-dashboards
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Operate Horizon with confidence—naming, tags, concurrency, failure handling, actionable metrics, and dashboardsKey capabilities
- →Route jobs intentionally using named queues
- →Tag jobs with domain identifiers for tracing
- →Right-size `--max-time`, `--tries`, and `--backoff` for workers
- →Separate critical queues into dedicated supervisors
- →Implement `failed()` method/logging with structured context
- →Ensure idempotency for safe retries
How it works
This skill provides best practices for operating Laravel Horizon, covering job naming, tagging, concurrency, failure handling, and metrics for observable queues.
Inputs & outputs
When to use laravel:horizon:metrics-and-dashboards
- →Monitor queue throughput
- →Set up job retries
- →Improve queue observability
About this skill
Horizon: Metrics and Dashboards
Make queues observable and actionable via Horizon.
Naming & Tags
- Use named queues (e.g.,
high,default,low); route jobs intentionally - Tag jobs with domain identifiers (user ID, aggregate ID) for tracing
Workers & Concurrency
- Right‑size
--max-time,--tries,--backoff - Separate critical queues into dedicated supervisors
Failures
- Use
failed()method/logging with structured context - Idempotency—ensure safe retries (unique keys, upserts, guards)
Metrics & Dashboards
- Track: throughput, runtime distribution, retries, failure rate, time‑to‑handle
- Add health indicators for backlog and SLA thresholds
- Integrate with your APM where possible
Testing
- Use
Bus::fake()for dispatch assertions - Integration tests to verify side‑effects and tags
When not to use it
- →When the user needs to manage queues outside of Laravel Horizon
- →When the user needs to dispatch jobs without intentional routing
- →When the user needs to handle failures without structured context
Limitations
- →This skill is specific to Laravel Horizon
- →This skill focuses on metrics and dashboards for queue observability
- →This skill assumes the use of `Bus::fake()` for dispatch assertions in testing
How it compares
This workflow offers specific, actionable guidance for optimizing Laravel Horizon queues, contrasting with general queue management advice.
Compared to similar skills
laravel:horizon:metrics-and-dashboards side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| laravel:horizon:metrics-and-dashboards (this skill) | 0 | 9mo | No flags | Intermediate |
| pulse-development | 0 | 3mo | Review | Intermediate |
| laravel-pdf | 11 | 4mo | Review | Beginner |
| laravel-specialist | 12 | 3mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jpcaparas
View all by jpcaparas →You might also like
pulse-development
THM-Health
Handles Laravel Pulse setup, configuration, and custom card development. Activates when installing Pulse; configuring the dashboard or authorization gate; setting up recorders and filtering; building custom Livewire cards; optimizing with Redis ingest or sampling; or when the user mentions /pulse, p
laravel-pdf
spatie
Generate PDFs from Blade views or HTML using spatie/laravel-pdf. Covers creating, formatting, saving, downloading, and testing PDFs with the Browsershot, Cloudflare, or DOMPDF driver.
laravel-specialist
Jeffallan
Use when building Laravel 10+ applications requiring Eloquent ORM, API resources, or queue systems. Invoke for Laravel models, Livewire components, Sanctum authentication, Horizon queues.
pennant-development
laravel
Manages feature flags with Laravel Pennant. Activates when creating, checking, or toggling feature flags; showing or hiding features conditionally; implementing A/B testing; working with @feature directive; or when the user mentions feature flags, feature toggles, Pennant, conditional features, rollouts, or gradually enabling features.
developing-shopper
shopperlabs
Provides coding standards and patterns for Laravel Shopper development. Use when creating or modifying Models, Actions, Enums, Livewire components, migrations, or tests in any Shopper package.
developing-with-turbo-streams
hotwired-laravel
Basics of developing with Turbo Streams in web applications. Activate when working on projects that utilize Turbo Streams for enhancing user experience through real-time updates, dynamic content changes, and partial page updates without full reloads.