Download the PHP package anowarcst/prometheus-laravel-health-exporter without Composer
On this page you can find all versions of the php package anowarcst/prometheus-laravel-health-exporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anowarcst/prometheus-laravel-health-exporter
More information about anowarcst/prometheus-laravel-health-exporter
Files in anowarcst/prometheus-laravel-health-exporter
Download anowarcst/prometheus-laravel-health-exporter
More information about anowarcst/prometheus-laravel-health-exporter
Files in anowarcst/prometheus-laravel-health-exporter
Vendor anowarcst
Package prometheus-laravel-health-exporter
Short Description A Prometheus Exporter for Laravel API Performance Health Monitoring
License MIT
Package prometheus-laravel-health-exporter
Short Description A Prometheus Exporter for Laravel API Performance Health Monitoring
License MIT
Please rate this library. Is it a good library?
Informations about the package prometheus-laravel-health-exporter
PrometheusLaravelHealthExporter
A very simple Prometheus exporter for Laravel 6. and 7. supported. Basically a Middleware to export API Health, Status and Performance metrics of Laravel API.
Supported version
- Laravel 5.5-5.9, 6. and 7.
- PHP 5.6 - 7.4
Pre-installed
- Redis
- Laravel
Install via Composer
composer require anowarcst/prometheus-laravel-health-exporter
Vendor publish
To publish config file
php artisan vendor:publish --provider="AnowarCST\PrometheusLaravelHealthExporter\LaravelRequestMonitoringServiceProvider"
if your Redis host is not the default one, please update Redis host, port in your .env or prometheus_exporter.php
Add this middleware in App\Http\Kernel.php
protected $middleware = [
...
\AnowarCST\PrometheusLaravelHealthExporter\Middleware\RequestExporter::class,
];
Preview
php artisan serve
Prometheus
Update prometheus.yml
scrape_configs:
- job_name: 'laravel'
static_configs:
- targets: ['localhost:8000']
Restart your Prometheus Server. (Update localhost:8000 if you are using prometheus in different server)
Grafana
All versions of prometheus-laravel-health-exporter with dependencies
PHP Build Version
Package Version
Requires
endclothing/prometheus_client_php Version
1.0.x-dev
The package anowarcst/prometheus-laravel-health-exporter contains the following files
Loading the files please wait ....