redis-observability

Diagnose Redis performance issues using INFO metrics, SLOWLOG, and MEMORY DOCTOR commands.

Updated Jul 25, 2026
One-click install
npx skills add https://github.com/kaannakiin/turborepo_template --skill redis-observability-kaannakiin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: redis-observability
Source: https://github.com/kaannakiin/turborepo_template/tree/main/.agents/skills/redis-observability
Command: npx skills add https://github.com/kaannakiin/turborepo_template --skill redis-observability-kaannakiin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Redis deployments often fail silently until latency spikes or memory pressure causes outages. This Skill tells you exactly which Redis metrics to monitor, which built-in commands to run during incident triage, and when to use Redis Insight, so you can catch issues before they impact users. ## Core Features & Use Cases - Metric Monitoring Guidance: Identifies the key INFO metrics to export (used_memory, connected_clients, hit ratio, ops/sec, rejected_connections) with concrete alert thresholds. - Incident Triage Commands: Covers SLOWLOG, INFO, MEMORY DOCTOR, CLIENT LIST, and FT.PROFILE for diagnosing slow queries, memory pressure, and connection storms. - Use Case: Your Redis-backed API suddenly shows high latency. Use this Skill to pull SLOWLOG entries, check MEMORY DOCTOR output, and compute the cache hit ratio to pinpoint whether the cause is slow queries, memory pressure, or cache misses. ## Quick Start Ask the AI to help you set up monitoring alerts for your Redis instance and show which commands to run when latency spikes.

Frequently Asked Questions about redis-observability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor Redis performance metrics?

Monitor Redis by exporting INFO metrics like used_memory, connected_clients, instantaneous_ops_per_sec, and keyspace hit ratio to Prometheus, Datadog, or CloudWatch. Alert when memory exceeds 80% of maxmemory, hit ratio drops below 80%, or rejected_connections rises above zero.

How to find slow queries in Redis?

Use SLOWLOG GET 10 to retrieve the most recent commands exceeding the slowlog-log-slower-than threshold (10ms by default). Each entry shows the exact command and duration in microseconds, making it the first command to run during latency triage.

What Redis commands help diagnose memory issues?

MEMORY DOCTOR returns a one-paragraph summary of unusual memory usage, while MEMORY STATS and MEMORY USAGE <key> give detailed breakdowns. Combine these with INFO memory to identify memory pressure causes.

How do I profile a slow FT.SEARCH query in Redis?

Use FT.PROFILE <index> SEARCH QUERY "..." to profile a slow RediSearch query and see where execution time is spent. FT.INFO <index> provides index-level statistics useful for understanding query behavior.

When should I use Redis Insight instead of command-line tools?

Redis Insight is useful for interactive work like browsing keys, running queries, and visually profiling indexes during development or incident response. It is not a replacement for exporting metrics to a monitoring system for continuous alerting.