PHPackages                             lkaemmerling/laravel-horizon-prometheus-exporter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. lkaemmerling/laravel-horizon-prometheus-exporter

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

lkaemmerling/laravel-horizon-prometheus-exporter
================================================

A small package to gain and export long time information from Laravel &amp; Horizon for Prometheus.

v1.8.2(1y ago)1602.0M—0.8%18[4 issues](https://github.com/LKaemmerling/laravel-horizon-prometheus-exporter/issues)MITPHPPHP ^7.1|^8.0CI failing

Since Oct 24Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/LKaemmerling/laravel-horizon-prometheus-exporter)[ Packagist](https://packagist.org/packages/lkaemmerling/laravel-horizon-prometheus-exporter)[ Docs](https://github.com/lkaemmerling/laravel-horizon-prometheus-exporter)[ RSS](/packages/lkaemmerling-laravel-horizon-prometheus-exporter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (20)Used By (0)

Laravel Horizon Prometheus Exporter
===================================

[](#laravel-horizon-prometheus-exporter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5e9203403ceb182a8b303f199d4cb99e3a855eb9827e0d1ece3bd3f112c77cad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6b61656d6d65726c696e672f6c61726176656c2d686f72697a6f6e2d70726f6d6574686575732d6578706f727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lkaemmerling/laravel-horizon-prometheus-exporter)[![Actions Status](https://github.com/lkaemmerling/laravel-horizon-prometheus-exporter/workflows/Tests/badge.svg)](https://github.com/lkaemmerling/laravel-horizon-prometheus-exporter/actions)[![Total Downloads](https://camo.githubusercontent.com/d0926659721f1967c4655a0c9fa2dce7c711964098f761826e1c8cc5689bb79b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6b61656d6d65726c696e672f6c61726176656c2d686f72697a6f6e2d70726f6d6574686575732d6578706f727465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lkaemmerling/laravel-horizon-prometheus-exporter)

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

Prom... What?
-------------

[](#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](https://camo.githubusercontent.com/6eab8361d03c2af249ffdb1faf9e96207513cd437ba3580d709c6b9dd7bc1a33/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f454864536f4e4758344145706269613f666f726d61743d6a7067266e616d653d343039367834303936)](https://camo.githubusercontent.com/6eab8361d03c2af249ffdb1faf9e96207513cd437ba3580d709c6b9dd7bc1a33/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f454864536f4e4758344145706269613f666f726d61743d6a7067266e616d653d343039367834303936)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lkaemmerling/laravel-horizon-prometheus-exporter
```

Configuration
-------------

[](#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
--------------

[](#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:

Dashboard
---------

[](#dashboard)

You can find a sample dashboard using this metrics on the [Grafana Marketplace](https://grafana.com/grafana/dashboards/11034).

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [Releases](https://github.com/LKaemmerling/laravel-horizon-prometheus-exporter/releases) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lukas Kämmerling](https://github.com/LKaemmerling)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance67

Regular maintenance activity

Popularity57

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 61% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~121 days

Recently: every ~191 days

Total

17

Last Release

453d ago

PHP version history (3 changes)v1.0.0PHP ^7.0

v1.1.1PHP ^7.1

v1.1.3PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bcc754aa9c84b502f0fade69790c525a42e8e898447157acce899469038bb3b1?d=identicon)[LukasKaemmerling](/maintainers/LukasKaemmerling)

---

Top Contributors

[![LKaemmerling](https://avatars.githubusercontent.com/u/4281581?v=4)](https://github.com/LKaemmerling "LKaemmerling (36 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (8 commits)")[![e2site](https://avatars.githubusercontent.com/u/7422316?v=4)](https://github.com/e2site "e2site (7 commits)")[![Rene-Roscher](https://avatars.githubusercontent.com/u/43115138?v=4)](https://github.com/Rene-Roscher "Rene-Roscher (1 commits)")[![reytarovskiy](https://avatars.githubusercontent.com/u/16164982?v=4)](https://github.com/reytarovskiy "reytarovskiy (1 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (1 commits)")[![stefanbauer](https://avatars.githubusercontent.com/u/3192662?v=4)](https://github.com/stefanbauer "stefanbauer (1 commits)")[![derkgort](https://avatars.githubusercontent.com/u/11174097?v=4)](https://github.com/derkgort "derkgort (1 commits)")[![thisismahabadi](https://avatars.githubusercontent.com/u/32453263?v=4)](https://github.com/thisismahabadi "thisismahabadi (1 commits)")[![fosron](https://avatars.githubusercontent.com/u/3708631?v=4)](https://github.com/fosron "fosron (1 commits)")[![pokgak](https://avatars.githubusercontent.com/u/20373062?v=4)](https://github.com/pokgak "pokgak (1 commits)")

---

Tags

laravelexporterhorizonprometheuslaravel-horizon-prometheus-exporter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lkaemmerling-laravel-horizon-prometheus-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/lkaemmerling-laravel-horizon-prometheus-exporter/health.svg)](https://phpackages.com/packages/lkaemmerling-laravel-horizon-prometheus-exporter)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)[renoki-co/horizon-exporter

Export Laravel Horizon metrics using this Prometheus exporter.

24152.7k](/packages/renoki-co-horizon-exporter)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[triadev/laravel-prometheus-exporter

A laravel and lumen service provider to export metrics for prometheus.

2728.2k1](/packages/triadev-laravel-prometheus-exporter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
