templatemonster/healthchecks 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-18