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
Commits on Mar 29, 2013
  1. Send persistence last status in state field

    inkel committed Mar 29, 2013
    Send the values of the persistence last status
    metrics (rdb_last_bgsave_status and aof_last_bgrewrite_status) in the
    state field of the report.
  2. Send Redis string INFO values as description

    inkel committed Mar 29, 2013
    Send the values of the different Redis INFO metrics that are strings in
    the description field of the report.
  3. Add redis-url and redis-socket parameters

    inkel committed Mar 29, 2013
    Add additional Redis connection parameters URL and socket, in case the
    user wants to connect to monitor a Redis server by using a Redis URL
    that can have the following format:
    * redis://server:port
    * redis://:password@server:port/db
    * unix:///path/to/redis.sock