spatie/laravel-prometheus
Export Laravel app metrics to Prometheus via a /prometheus endpoint. Register custom gauges/counters with simple callbacks, use built-in queue and Horizon metrics, and optionally secure the endpoint. Ideal for scraping by Prometheus and charting in Grafana.
"This package lets us instrument our Laravel apps with industry-standard metrics—like a ‘black box’ for our services—so we can proactively detect issues, optimize performance, and reduce downtime. It’s a low-cost, high-impact way to align with DevOps best practices, similar to how we use Prometheus for infrastructure. No vendor lock-in; we own the data, and it integrates seamlessly with our existing tools. ROI: Faster incident resolution, better scaling decisions, and compliance-ready dashboards—all for the cost of a few developer hours."
*"spatie/laravel-prometheus gives us first-class Prometheus support out of the box:
*"This fills a gap in our Laravel observability stack by:
laravel_http_request_duration_seconds).How can I help you explore Laravel packages today?