spatie/laravel-prometheus
Export Laravel app metrics to Prometheus via a /prometheus endpoint. Register custom gauges and counters in code, with built-in metrics for queues and Horizon. Includes optional security so your metrics aren’t publicly exposed; pair with Grafana for dashboards.
active_users, failed_payments).queue_jobs_pending > 1000) via Prometheus/Grafana dashboards.feature_x_usage) without modifying core analytics tools./prometheus endpoint access.For Executives: "This package lets us instrument our Laravel app with Prometheus—freeing us from vendor lock-in while enabling real-time monitoring of queues, APIs, and custom metrics. For example, we can track failed jobs in Horizon and visualize them in Grafana, reducing MTTR for critical issues. It’s a low-code, high-impact way to cut cloud monitoring costs by 30%+ while improving reliability."
For Engineering:
*"Spatie’s laravel-prometheus gives us a drop-in solution to expose metrics like queue job counts, API response times, and custom business KPIs to Prometheus. Key benefits:
/prometheus endpoint.active_users), counters (e.g., api_requests), and conditional logic.How can I help you explore Laravel packages today?