indigerd/healthchecks

HTTP and console health checks for microservices

v0.0.5 2019-05-21 08:49 UTC

This package is auto-updated.

Last update: 2024-12-21 22:08:11 UTC


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' => 'indigerd\healthchecks\Module',
            'checks'=> [
                'db',
                'cache',
                'custom' => function() {
                    return (2 + 2 == 4);
                };
            ],
        ],
        .........