redis_health
Get a one-call health snapshot of a Redis instance, including memory, clients, ops/sec, keyspace, persistence, replication, and recent slow commands. Use for connection sanity checks and diagnosing performance issues.
Instructions
One-call health snapshot rolled up from INFO + DBSIZE + recent SLOWLOG: server version and mode, uptime, memory used vs maxmemory + eviction policy, connected clients + blocked clients, ops/sec, keyspace hit/miss ratio, total keys per database (and how many lack a TTL), persistence (RDB/AOF) status, replication role, and the most recent slow commands. Use as a connection sanity check and the first stop in 'why is Redis slow / using so much memory?' triage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slowlogLimit | No | Number of recent slow commands to include (default 5, 0 to skip). |