laravel-openswoole-stats maintained by dandysi
Description
A laravel package to expose Open Swoole metrics to a scraping service like Prometheus
Author
Simon Adams
Last update
2024/12/09 21:39
(dev-master)
License
Downloads
45
Tags
Laravel Open Swoole Stats
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.