influxdata/telegraf

[Feature Request] Support get slowlog in redis

Open

#2 565 ouverte le 24 mars 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Go (4 161 forks)batch import
area/redisfeathelp wantedsize/l

Métriques du dépôt

Stars
 (9 892 stars)
Métriques de merge PR
 (Merge moyen 2j 12h) (136 PRs mergées en 30 j)

Description

Feature Request

Get slow log command from redis.

Example command:

> SLOWLOG GET
 1) 1) (integer) 10595463
    2) (integer) 1490323467
    3) (integer) 8831
    4) 1) "HGETALL"
       2) "telegraf:metric:redis"
  • A unique progressive identifier for every slow log entry.
  • The unix timestamp at which the logged command was processed. (important)
  • The amount of time needed for its execution, in microseconds. (important)
  • The array composing the arguments of the command. (important)

Ref https://redis.io/commands/slowlog

Use case:

Monitoring slow query in redis, time duration of command and count slow command

redis_slow

Guide contributeur