redis.slowlog.length
Number of entries in the slow logSummary
Current number of entries in Redis's slow query log, which records commands exceeding the slowlog-log-slower-than threshold (default 10ms). A growing count indicates accumulating slow commands faster than they age out of the log. This metric helps identify performance issues from expensive O(N) operations like KEYS, SMEMBERS on large sets, or blocking commands. Use the insight about slow query backlog masking connection pool exhaustion to prioritize investigation.
Interface Metrics (2)
Related Insights (2)
Redis slowlog entries accumulating (redis.slowlog.length rising) can indicate operations blocking on network or disk I/O, exhausting connection pools and causing cascading failures in dependent services even when Redis CPU appears healthy.
Certain Redis commands have O(N) complexity (KEYS, SMEMBERS, HGETALL, LRANGE without limit) and can cause latency spikes when executed on large data structures. redis.commands.usec tracking per command identifies hot spots.