dandysi/laravel-openswoole-stats

一个Laravel包,用于将Open Swoole指标暴露给Prometheus等爬取服务

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

This package is auto-updated.

Last update: 2024-09-04 00:22:51 UTC


README

Actions Status

如果你正在使用Laravel Octane,此包允许你将Open Swoole统计信息暴露给Prometheus等爬取服务。安装后,你可以在应用的/openswoole-stats端点访问这些指标。

安装

通过composer安装此包

composer require dandysi/laravel-openswoole-stats

配置

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

通过修改config/openswoole-stats.php中的值来配置此包。

许可

开源软件,使用MIT许可