View Source BtrzHealthchecker.Checkers.Redis (BtrzHealthchecker v0.4.0)
Defines the Redis status checker.
Link to this section Summary
Functions
Returns the status of the redis service sending the "PING" command
Returns the name of the service
Link to this section Functions
Returns the status of the redis service sending the "PING" command
Returns 200 if the conection is reachable and the command returns PONG.
Returns 500 if PONG is not returned or the command! function raises.
examples
Examples
iex> BtrzHealthchecker.Checkers.Redis.check_status(opts)
200
iex> BtrzHealthchecker.Checkers.Redis.check_status(bad_opts)
500
Returns the name of the service
Returns "redis".