Download the PHP package aduzenko/laravel-configurable-prometheus without Composer
On this page you can find all versions of the php package aduzenko/laravel-configurable-prometheus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aduzenko/laravel-configurable-prometheus
More information about aduzenko/laravel-configurable-prometheus
Files in aduzenko/laravel-configurable-prometheus
Download aduzenko/laravel-configurable-prometheus
More information about aduzenko/laravel-configurable-prometheus
Files in aduzenko/laravel-configurable-prometheus
Vendor aduzenko
Package laravel-configurable-prometheus
Short Description A package providing configurable interface to export Prometheus metrics in Laravel
License MIT
Package laravel-configurable-prometheus
Short Description A package providing configurable interface to export Prometheus metrics in Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-configurable-prometheus
Laravel Configurable Prometheus
A Laravel package for defining, managing, and exporting Prometheus metrics in a flexible, extensible way.
โจ Features
- Simple configuration-driven metric definitions
- Full support for Counter, Gauge, Histogram, and Summary
- Designed for Laravel 12 and PHP 8.3+
- Define metrics in your app, not just in the package
๐ Installation
โ๏ธ Publishing config
This will publish:
config/prometheus.php- example metrics route
๐ Authentication for report route
The Prometheus endpoint is protected from unauthorized access by basic HTTP authentication.
Step 1: Add credentials to your .env file
๐ก Route setup for Prometheus metrics
The Prometheus endpoint is configurable.
Update route in config/prometheus.php file
๐งฉ Defining custom metrics
Define a class implementing MetricGroup:
Then reference your group in config/prometheus.php:
๐ Usage
Alternate usage
๐งช Testing
๐ License
MIT ยฉ Anatoly Duzenko
All versions of laravel-configurable-prometheus with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-redis Version *
laravel/framework Version ^11.0 || ^12.0
promphp/prometheus_client_php Version ^2.6
illuminate/config Version ^12.0
illuminate/support Version ^12.0
ext-redis Version *
laravel/framework Version ^11.0 || ^12.0
promphp/prometheus_client_php Version ^2.6
illuminate/config Version ^12.0
illuminate/support Version ^12.0
The package aduzenko/laravel-configurable-prometheus contains the following files
Loading the files please wait ...