← RedisCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to Redis
Snapshot Sep 30, 2026 · 23:01 UTC · version 1.4.0
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops/sec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO, MEMORY DOCTOR, CLIENT LIST, FT.PROFILE), and when to use the Redis Insight GUI. Use when setting up monitoring or alerts for a Redis instance, diagnosing a performance regression, profiling a slow FT.SEARCH query, or wiring Redis metrics into Prometheus, Datadog, or similar.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 240
},
{
"relative_path": "references/commands.md",
"size_in_bytes": 853
},
{
"relative_path": "references/metrics.md",
"size_in_bytes": 1218
}
],
"name": "redis-observability",
"skill_md_contents": "---\nname: redis-observability\ndescription: Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops/sec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO, MEMORY DOCTOR, CLIENT LIST, FT.PROFILE), and when to use the Redis Insight GUI. Use when setting up monitoring or alerts for a Redis instance, diagnosing a performance regression, profiling a slow FT.SEARCH query, or wiring Redis metrics into Prometheus, Datadog, or similar.\nlicense: MIT\n---\n\n# Redis Observability\n\nWhat to watch, what to run, and what to alert on. Covers the metrics every Redis deployment should monitor and the built-in commands for ad-hoc diagnosis.\n\n## When to apply\n\n- Setting up monitoring or alerts for a Redis instance.\n- Diagnosing a Redis performance regression (high latency, memory pressure, connection storms).\n- Profiling a slow `FT.SEARCH` or pipeline.\n- Wiring Redis metrics into Prometheus, Datadog, CloudWatch, or similar.\n\n## 1. Monitor these metrics\n\nThese come from `INFO` and should be exported to your monitoring system.\n\n| Metric | What it tells you | Alert when |\n|---|---|---|\n| `used_memory` | Current memory usage | > 80% of `maxmemory` |\n| `connected_clients` | Open connections | Sudden spikes or drops |\n| `blocked_clients` | Clients waiting on blocking ops | > 0 sustained |\n| `instantaneous_ops_per_sec` | Current throughput | Significant drops |\n| `keyspace_hits` / `keyspace_misses` | Cache hit ratio | Hit ratio < 80% |\n| `rejected_connections` | Hit `maxclients` cap | > 0 |\n| `rdb_last_save_time` | Last persistence snapshot | Too old vs. RPO |\n\n```python\ninfo = redis.info()\nhit_ratio = info[\"keyspace_hits\"] / max(1, info[\"keyspace_hits\"] + info[\"keyspace_misses\"])\nprint(f\"Memory: {info['used_memory_human']}\")\nprint(f\"Clients: {info['connected_clients']}\")\nprint(f\"Ops/sec: {info['instantaneous_ops_per_sec']}\")\nprint(f\"Hit ratio: {hit_ratio:.1%}\")\n```\n\nSee [references/metrics.md](references/metrics.md).\n\n## 2. Built-in commands for debugging\n\nReach for these when something looks off.\n\n| Topic | Command |\n|---|---|\n| Slow commands | `SLOWLOG GET 10` / `SLOWLOG LEN` / `SLOWLOG RESET` |\n| Server snapshot | `INFO all` (or `INFO memory` / `INFO stats` / `INFO clients` / `INFO replication`) |\n| Memory diagnostics | `MEMORY DOCTOR` / `MEMORY STATS` / `MEMORY USAGE <key>` |\n| Connections | `CLIENT LIST` / `CLIENT INFO` |\n| RQE / Search | `FT.INFO <idx>` / `FT.PROFILE <idx> SEARCH QUERY \"...\"` |\n\nThe two most useful for incident triage:\n\n- **`SLOWLOG GET`** to find queries that exceeded the `slowlog-log-slower-than` threshold (10ms by default). The output shows the exact command and duration in microseconds.\n- **`MEMORY DOCTOR`** for memory pressure — it returns a one-paragraph summary of what's unusual about memory usage right now.\n\n```python\nfor entry in redis.slowlog_get(10):\n print(f\"{entry['duration']}μs {entry['command']}\")\n```\n\nSee [references/commands.md](references/commands.md).\n\n## 3. Redis Insight\n\nFor interactive use (running queries, browsing keys, profiling indexes), [Redis Insight](https://redis.io/insight/) is the official GUI. It surfaces the same `SLOWLOG` / `INFO` / `FT.PROFILE` data visually and includes Redis Copilot for natural-language queries. Useful during development and incident response; not a replacement for exporting metrics to your monitoring system.\n\n## References\n\n- [Redis: Latency monitoring](https://redis.io/docs/latest/operate/oss_and_stack/management/optimization/latency/)\n- [Redis Insight](https://redis.io/insight/)\n"
}SHA-256 of public snapshot: f2bee52558b02ae23a49232c8ced064a93353784cdc9d12128a29f2ec26f5a64