Download the PHP package uuu9/u9-php-prometheus without Composer
On this page you can find all versions of the php package uuu9/u9-php-prometheus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package u9-php-prometheus
uuu9-php-prometheus
metrics规范 TODO
http://git.vpgame.cn/infra/desgin-docs/blob/master/confirmed/monitor/prometheus_metrics.md
依赖
- ext-apcu: 使用共享内存来维护PHP-FPM多进程状态
- jimdo/prometheus_client_php: PrometheusSDK
代码参考
https://github.com/triadev/LaravelPrometheusExporter
支持框架
- lumen5.3
- lumen5.4
- laravel(待支持)
目录
lumen项目配置
1 composer.json
repositories节点新增
2 运行命令
3 .env.tp
文件,新增 APP_ROUTE_PREFIX=路由前缀
,如APP_ROUTE_PREFIX=sso
4 bootstrap/app.php
laravel
laravel需要特殊处理
TODO:
- 新增Controller namespace Illuminate\Routing\Controller
All versions of u9-php-prometheus with dependencies
PHP Build Version
Package Version
The package uuu9/u9-php-prometheus contains the following files
Loading the files please wait ....