Slide 7 of 15

Redis integration

Redis integration

The Redis integration provides cache and key-value monitoring for Redis, covering throughput, memory, connections, and replication. Redis is fast, but it fails in predictable ways, running out of memory, evicting keys, or exhausting connections. The integration tracks those signals so you can act before the cache starts dropping data.

What it’s forMonitoring command throughput, memory, connections, keyspace, and replication
Under the hoodGrafana Alloy scrapes the Redis exporter with a single config block

Metrics collected

  • Command throughput: Commands processed per second and command duration
  • Memory: Used memory, RSS, fragmentation ratio, and the max-memory threshold
  • Connections: Connected and blocked clients
  • Keyspace: Keys, expiring keys, and eviction rate
  • Replication: Connected replicas

What to know

This integration offers:

  • Prebuilt dashboards: Redis
  • Prebuilt alerts: instance down, out of memory, too many connections, cluster health

Prerequisites:

  • Alloy needs network access to Redis.
  • A Redis user for Alloy to connect with (a dedicated, least-privilege user is recommended).

Documentation

View the Redis integration documentation.

Script

Redis is fast, but it fails in specific ways: running out of memory, evicting keys, or piling up client connections. The integration tracks all of these.

Command throughput and duration show how hard Redis is working, while memory and eviction metrics warn you before the cache starts dropping data. If you run replicas, the integration tracks how many are connected.