Skip to content
Neuron Teckid edited this page May 3, 2016 · 1 revision

Override this function in RedisCtl for alarming customization

# Create a client from config
#   - config: the config passed to `RedisCtl` app
# by default it returns None
def init_alarm_client(self, config)

The client returned from the above function should implement the following member function

# alarm
#   - message: message about what Redis or proxy is unavailable
#   - trace: the detailed trace
def send_alarm(self, message, trace)
Clone this wiki locally