vmorozov / laravel-prometheus
Prometheus client for laravel framework
Fund package maintenance!
vmorozov
Requires
- php: ^8.1
- illuminate/contracts: >=9.0
- promphp/prometheus_client_php: ^2.7
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.13
- orchestra/testbench: ^v9.5.2
- phpunit/phpunit: ^11.4
This package is auto-updated.
Last update: 2024-11-17 18:50:35 UTC
README
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
Installation
- Install the package via composer:
composer require vmorozov/laravel-prometheus
- Publish vendor files:
php artisan vendor:publish --provider="VMorozov\\Prometheus\\PrometheusServiceProvider"
Usage
This package provides 2 default metrics that allow to get response times (divided into buckets and percentiles) and requests counts.
To see the collected metrics go to /metrics
endpoint of your application.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.