Add a Redis SLOWLOG client #30

merged 1 commit into from Apr 2, 2013
Commits on Mar 30, 2013
  1. Add a Redis SLOWLOG client

    inkel committed Mar 30, 2013
    The `riemann-redis-slowlog` client uses Redis' SLOGLOW [1] command in
    order to report those queries that exceeded a certain amount of time.
    This client accepts the following CLI flags:
    * --redis-url, -d <s>: Redis URL (default: redis://
    * --redis-password, -r <s>: Redis password (default: "")
    * --slowlog-len, -s <i>: Number of SLOWLOG entries to get (default: 10)
    * --slowlog-reset, -o: Reset SLOWLOG after querying it (default: false)
    The Redis SLOWLOG format returns the id, timestamp, microseconds spent
    while executing the command and an array of command and arguments sent
    to the Redis server. This last array is sent as a Ruby inspect string in
    the `description` field.
    The service indicated by this client is `redis`. The state is always
    `warning`, and the tags sent with the reported event are `redis` and