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
Requires
- php: ~8.1.0 || ~8.2.0
- healthengine/laravel-prometheus-exporter: ^4.0
- laravel/framework: ^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.26
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.3
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.