alahaxe/healthcheck-redis

Redis checks for alahaxe/healthcheck-bundle

v2.0.0 2023-11-29 21:48 UTC

This package is auto-updated.

Last update: 2024-12-15 22:53:53 UTC


README

Installation

Install checker:

    composer require alahaxe/healthcheck-redis

Register service in your app:

    Alahaxe\HealthCheckBundle\Checks\Redis\RedisCheck:
        arguments:
            # @see https://symfony.com/doc/current/components/cache/adapters/redis_adapter.html#configure-the-connection
            $dns: "redis://abcdef@localhost?timeout=5"
            # optional
            $name: "redis_01"
        tags: ['lahaxearnaud.healthcheck.check']