2017 © Pedro Peláez
 

package healthchecks

HTTP and console health checks for microservices

image

templatemonster/healthchecks

HTTP and console health checks for microservices

  • Wednesday, January 18, 2017
  • by Indigerd
  • Repository
  • 4 Watchers
  • 0 Stars
  • 4,479 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 32 % Grown

The README.md

microservice-health-checks module

Module have several built in health checks like db and cache, (*1)

Add health check in configuration by populating checks array property, (*2)

for example, (*3)

'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);
                };
            ],
        ],
        .........

The Versions

18/01 2017

dev-master

9999999-dev

HTTP and console health checks for microservices

  Sources   Download

MIT

The Requires

 

by Alexander Stepanenko

api rest yii2 microservices

18/01 2017

v0.0.1

0.0.1.0

HTTP and console health checks for microservices

  Sources   Download

MIT

The Requires

 

by Alexander Stepanenko

api rest yii2 microservices