healthengine/laravel-prometheus-collectors

This package is abandoned and no longer maintained. The author suggests using the spatie/laravel-prometheus package instead.

A set of sane default Prometheus data collectors

v3.0.0 2023-09-12 03:13 UTC

This package is auto-updated.

Last update: 2024-08-29 01:30:15 UTC


README

Warning

This package is abandoned, you should avoid using it.

Use spatie/laravel-prometheus instead.

Laravel Prometheus Collectors

This package provides a set of default Prometheus data collectors for use with Laravel.

It includes a collector for metrics about:

  • queue lengths

It only registers collectors which integrate into HealthEngineAU/laravel-prometheus-exporter.

Usage

This extends the HealthEngineAU/laravel-prometheus-exporter so you will need to read that documentation as well.

To customise what metrics are exported, publish the configuration file and edit it:

php artisan vendor:publish --provider="HealthEngine\Prometheus\PrometheusServiceProvider"

License

Laravel Prometheus Collectors is licensed under the MIT license.