dandysi/laravel-openswoole-stats

A laravel package to expose Open Swoole metrics to a scraping service like Prometheus

v1.0.2 2024-02-03 22:55 UTC

This package is auto-updated.

Last update: 2024-05-03 23:42:45 UTC


README

Actions Status

If you are using Laravel Octane, this package allows you to expose your Open Swoole stats to a scraping service like Prometheus. Once installed you can access the metrics at the /openswoole-stats endpoint of your app.

Install

Install the package via composer:

composer require dandysi/laravel-openswoole-stats

Config

php artisan vendor:publish --provider="Dandysi\Laravel\OpenSwooleStats\OpenSwooleStatsServiceProvider"

Configure this package by changing the values in config/openswoole-stats.php.

License

Open-sourced software licensed under the MIT license.