redis avatar

Redis Observability

A practical reference for keeping Redis healthy in production. It lists the six metrics you should actually monitor (memory, connections, hit ratio, ops/sec, rejected connections, persistence lag) and the built-in commands that matter during an incident: SLOWLOG for finding slow queries, MEMORY DOCTOR for diagnosing pressure, CLIENT LIST for connection storms, and FT.PROFILE for search performance. The guidance is opinionated about alert thresholds (80% memory, sub-80% hit ratio) and includes minimal Python snippets for extracting what you need from INFO. Most useful when you're setting up monitoring for the first time or triaging a regression at 2am and need to remember which Redis command actually helps.

skills.sh installs
2.5K
GitHub stars
175
last updated
Aug 21, 2026

Install

$ npx -y skills add redis/agent-skills --skill redis-observability --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

MetricWhat it tells youAlert when
used_memoryCurrent memory usage> 80% of maxmemory
connected_clientsOpen connectionsSudden spikes or drops
blocked_clientsClients waiting on blocking ops> 0 sustained
instantaneous_ops_per_secCurrent throughputSignificant drops
keyspace_hits / keyspace_missesCache hit ratioHit ratio < 80%
rejected_connectionsHit maxclients cap> 0
rdb_last_save_timeLast persistence snapshotToo old vs. RPO

Sponsors

Details

Repository
github.com/redis/agent-skills
Categories
Backend & APIs, DevOps & CI/CD, AI & Agent Building, Debugging, Databases
First seen
Jul 14, 2026

More from redis/agent-skills

All 8
1affaan-m avatarclaude-apiaffaan-m/everything-claude-codeclaude api2.4Kskills.sh installs
2google-deepmind avataralphafold-database-fetch-and-analyzegoogle-deepmind/science-skillsRetrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides a specific UniProt Accession ID and wants structural confidence me2.3Kskills.sh installs
3dotnet avatarminimal-api-file-uploaddotnet/skillsFile upload endpoints in ASP.NET minimal APIs (.NET 8+)2.3Kskills.sh installs
4nvidia avatarcuopt-routing-api-pythonnvidia/skillsVehicle routing (VRP, TSP, PDP) with cuOpt — Python API only. Use when the user is building or solving routing in Python.2.3Kskills.sh installs
5mindrally avatarredis-best-practicesmindrally/skillsRedis development best practices for caching, data structures, and high-performance key-value operations2.3Kskills.sh installs
6google-deepmind avatarhuman-protein-atlas-databasegoogle-deepmind/science-skillsUse when you want to retrieve semi-quantitative protein expression and spatial localisation data from the Human Protein Atlas (HPA).2.3Kskills.sh installs