HealthCheck::Diagnostic::Redis - Check for Redis connectivity and operations in HealthCheck
version v0.0.6
use HealthCheck::Diagnostic::Redis;
# Just check that we can connect to a host, and get a random value back.
HealthCheck::Diagnostic::Redis->check(
host => 'redis.example.com',
);
This Diagnostic will simply allow for an application to test for connectivity to a Redis server, and additionally validate that it can successfully read keys from that server.
A descriptive name for the connection test.
This gets populated in the resulting info
tag.
The server name to connect to for the test. This is required.
Run a read-only check, instead of the read-and-write check provided by-default.
Use a static key name instead of a randomly-generated one.
This method is used when "read_only" is set.
This method is used when "read_only" is not set.
Redis::Fast HealthCheck::Diagnostic
None
Grant Street Group developers@grantstreet.com
This software is Copyright (c) 2019 - 2024 by Grant Street Group.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)