HealthCheck::Diagnostic::Redis - Check for Redis connectivity and operations in HealthCheck
version v0.0.5
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.
info
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.
Redis::Fast HealthCheck::Diagnostic
None
Grant Street Group <developers@grantstreet.com>
This software is Copyright (c) 2019 - 2020 by Grant Street Group.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install HealthCheck::Diagnostic::Redis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HealthCheck::Diagnostic::Redis
CPAN shell
perl -MCPAN -e shell install HealthCheck::Diagnostic::Redis
For more information on module installation, please visit the detailed CPAN module installation guide.