templatemonster/healthchecks
最新稳定版本:1.0.1
Composer 安装命令:
composer require templatemonster/healthchecks
包简介
HTTP and console health checks for microservices
关键字:
README 文档
README
Module have several built in health checks like db and cache
Add health check in configuration by populating checks array property
for example
'modules'=>[
.........
'healthchecks' => [
'class' => 'templatemonster\healthchecks\Module',
'checks'=> [
'db',
'cache',
'mongodb',
'rabbitmq' = > 'queue',
'elasticsearch',
'urls' => [
'name1' => 'http://ukr1',
'name2' => 'http://ukr2',
]
,
'custom' => function() {
return (2 + 2 == 4);
};
],
],
.........
统计信息
- 总下载量: 40.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-18