vmorozov/laravel-prometheus

Prometheus client for laravel framework

dev-main 2024-10-17 15:58 UTC

This package is auto-updated.

Last update: 2024-11-17 18:50:35 UTC


README

Latest Version on Packagist Tests Total Downloads

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation

  1. Install the package via composer:
composer require vmorozov/laravel-prometheus
  1. 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.