mcpbeat Sign in

Redis Observability Agent Skill

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.

2k tokens
context cost
the whole folder, loaded on every use
4
files
instructions only
0
copies elsewhere
how many repositories repackaged it
114 d ago
last touched
this folder, not the whole repository

Install

one command, takes just this skill from the repository
npx skills add https://github.com/redis/agent-skills --skill redis-observability

What comes with it

2 538 bytes besides the instruction
.cursor-plugin/plugin.json
references/commands.md
references/metrics.md

The instruction itself

6 sections, as written by the author

Redis Observability

What 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.

When to apply

  • Setting up monitoring or alerts for a Redis instance.
  • Diagnosing a Redis performance regression (high latency, memory pressure, connection storms).
  • Profiling a slow FT.SEARCH or pipeline.
  • Wiring Redis metrics into Prometheus, Datadog, CloudWatch, or similar.

1. Monitor these metrics

These come from INFO and should be exported to your monitoring system.

| Metric | What it tells you | Alert when |

|---|---|---|

| used_memory | Current memory usage | > 80% of maxmemory |

| connected_clients | Open connections | Sudden spikes or drops |

| blocked_clients | Clients waiting on blocking ops | > 0 sustained |

| instantaneous_ops_per_sec | Current throughput | Significant drops |

| keyspace_hits / keyspace_misses | Cache hit ratio | Hit ratio < 80% |

| rejected_connections | Hit maxclients cap | > 0 |

| rdb_last_save_time | Last persistence snapshot | Too old vs. RPO |

info = redis.info()
hit_ratio = info["keyspace_hits"] / max(1, info["keyspace_hits"] + info["keyspace_misses"])
print(f"Memory:    {info['used_memory_human']}")
print(f"Clients:   {info['connected_clients']}")
print(f"Ops/sec:   {info['instantaneous_ops_per_sec']}")
print(f"Hit ratio: {hit_ratio:.1%}")

See references/metrics.md.

2. Built-in commands for debugging

Reach for these when something looks off.

| Topic | Command |

|---|---|

| Slow commands | SLOWLOG GET 10 / SLOWLOG LEN / SLOWLOG RESET |

| Server snapshot | INFO all (or INFO memory / INFO stats / INFO clients / INFO replication) |

| Memory diagnostics | MEMORY DOCTOR / MEMORY STATS / MEMORY USAGE <key> |

| Connections | CLIENT LIST / CLIENT INFO |

| RQE / Search | FT.INFO <idx> / FT.PROFILE <idx> SEARCH QUERY "..." |

The two most useful for incident triage:

  • 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.
  • MEMORY DOCTOR for memory pressure — it returns a one-paragraph summary of what's unusual about memory usage right now.
for entry in redis.slowlog_get(10):
    print(f"{entry['duration']}μs  {entry['command']}")

See references/commands.md.

3. Redis Insight

For interactive use (running queries, browsing keys, profiling indexes), Redis 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.

References

Other skills for the same job

different authors, same section of the catalogue
Automate Whatsapp
by ComeOnOliver
×2

Build WhatsApp automations with Kapso workflows: configure WhatsApp triggers, edit workflow graphs, manage executions, deploy functions, and use databases/integrations for state. Use when automating WhatsApp conversations and event handling.

5k tokens
Error Tracking
by ComeOnOliver
×2

Add Sentry v8 error tracking and performance monitoring to your project services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.

5k tokens
Azure Kusto
by microsoft
vendor ×1

Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.

2k tokens
Azure Kusto
by microsoft
vendor ×1

Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.

2k tokens
Azure Mgmt Mongodbatlas Dotnet
by lingxling
×1

Manage MongoDB Atlas Organizations as Azure ARM resources with unified billing through Azure Marketplace.

3k tokens
Azure Resource Manager Mysql Dotnet
by lingxling
×1

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments.

3k tokens
Azure Resource Manager Postgresql Dotnet
by lingxling
×1

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments.

4k tokens
Azure Resource Manager Redis Dotnet
by lingxling
×1

Azure Resource Manager SDK for Redis in .NET.

3k tokens

How to use it

Copy the folder

Take redis/redis-observability from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.