New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lkaemmerling/laravel-horizon-prometheus-exporter

A small package to gain and export long time information from Laravel & Horizon for Prometheus.
2,471,117 161
Install
composer require lkaemmerling/laravel-horizon-prometheus-exporter
Latest Version:v1.8.3
PHP:^7.1|^8.0
Laravel:6 – 13
License:MIT
Last Updated:Apr 7, 2026
Links: GitHub  ·  Packagist
Maintainer: LukasKaemmerling

Laravel Horizon Prometheus Exporter

Latest Version on Packagist Actions Status Total Downloads

This package allows an easy way to expose the Laravel Horizon Metrics to Prometheus.

Prom... What?

Prometheus is a scraping service which allows you to easily store and scrape information from your application, server or even from your router! Prometheus itself does not know about your application, so you need a exporter on your app. This small package is exactly this, an exporter which allows Prometheus to understand some information from your application. With Prometheus and a visualisation tool called Grafana you can build something like this beautiful Dashboard:

Laravel Horizon Prometheus Exporter Dashboard

Installation

You can install the package via composer:

composer require lkaemmerling/laravel-horizon-prometheus-exporter

Configuration

php artisan vendor:publish --provider=LKDevelopment\\HorizonPrometheusExporter\\HorizonPrometheusExporterServiceProvider

You can configure this package by changing the values in config/horizon-exporter.php.

Custom Metrics

You can also use this package easily to expose custom metrics. You just need to implement the LKDevelopment\HorizonPrometheusExporter\Contracts\Exporter interface and then add your implementation to your config/horizon-exporter.php like we do it for the Horizon exporters: https://github.com/LKaemmerling/laravel-horizon-prometheus-exporter/blob/master/config/config.php#L17

Dashboard

You can find a sample dashboard using this metrics on the Grafana Marketplace.

Testing

composer test

Changelog

Please see Releases for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email kontakt@lukas-kaemmerling.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

bushlanov-dev/laravel-prometheus-exporter

Laravel and Lumen prometheus exporter

15 1
renoki-co/laravel-exporter-contracts

Base contracts implementation for Prometheus exports in Laravel.

175,284 5
huangdijia/laravel-horizon-restart

Horizon Restart for Laravel.

108,836 23
servocoder/lumen-horizon

Commands and code-driven configuration for Lumen queues.

81,143 24
jaybizzle/laravel-horizon-monitor

This is my package LaravelHorizonMonitor

63,493 0

Version History

Version Released PHP Laravel License
v1.8.3 ^7.1|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v1.8.2 ^7.1|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
v1.8.1 ^7.1|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0 MIT
v1.8.0 ^7.1|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0 MIT
v1.7.0 ^7.1|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0 MIT