Download the PHP package alan/yii2-metrics without Composer
On this page you can find all versions of the php package alan/yii2-metrics. 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 yii2-metrics
yii2框架接入prometheus
接入步骤:
-
定义常量 YII_APP_NAME,该常量用于底层区分应用,由于我们经常使用yii2的高级框架,我建议定义在common配置文件下面common/config/main.php
-
在主配置文件里面定义行为 建设配置在common/config/main.php
-
添加支持/metrics路由
-
上报rabbitmq任务数数据
- 添加计划任务
All versions of yii2-metrics with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
yiisoft/yii2-redis Version ^2.0
alan/yii2-crontab Version ^1.0
ext-json Version *
promphp/prometheus_client_php Version ^2.4.0
yiisoft/yii2-redis Version ^2.0
alan/yii2-crontab Version ^1.0
ext-json Version *
promphp/prometheus_client_php Version ^2.4.0
The package alan/yii2-metrics contains the following files
Loading the files please wait ....