Redis and Valkey monitoring · 6.2 and later

Know what fills Redis, and who sends it.

WatchLog shows what fills the memory, which command keeps the main thread busy, which service sends it and what changed, on Kubernetes and on plain Linux servers. When a stream group falls behind, it names the consumer that left.

A read-only ACL user, or none. Never a value. Open source.

WatchLog’s Redis page on the live demo: keys under session:* fill the memory with no TTL and Redis evicts keys, with the command flow, six tiles and the moment evictions started marked on the charts
What other dashboards leave to you

Evicted keys are the symptom.
WatchLog shows the cause.

  • It shows what fills the memory

    Keys under session:* grew to 58 % of memory, and 92 % have no TTL: WatchLog measures each prefix from a bounded sample of key names, its size, keys, TTL share and growth, never a value.

  • It watches the main thread

    Redis runs your commands on one core. When it is busy most of the time, WatchLog says Redis is saturated whatever the memory says, and names the costly command and the service that sends it.

  • It finds the consumer that left

    A stream group falling behind, its consumer quiet for 18 minutes; a client about to be disconnected at its buffer limit; a save that won’t fit in the memory left. Each before it is an outage.

What you see

Memory, commands, clients, streams, persistence.

  • Command flow

    Clients, commands, memory and persistence in one strip: the services that connect and what they run, the slowest command, the largest prefixes, evictions and the last save.

    clients · commands · memory · persistence

  • What fills the memory

    Every prefix with its share, keys, share with a TTL, type and growth; the largest keys; keys without a TTL over time; when memory reaches maxmemory at the last hour’s growth.

    SCAN · MEMORY USAGE · TYPE · PTTL

  • Commands and the slow log

    Each command’s calls, mean, p50, p99 and p99.9 and failures; the main thread’s share of a core; the slow log, each entry named by the service that sent it.

    commandstats · latencystats · SLOWLOG

  • Clients

    Per service: connections, blocked ones, subscribers, idle time, the output buffer against its limit, connections opened since the last look, and the last command.

    CLIENT LIST · buffer limits

  • Streams

    Each consumer group’s lag, pending entries and the oldest pending; each consumer and when it last read. Shown only when there are streams.

    XINFO GROUPS · XPENDING

  • Persistence and replication

    The last save, its fork, whether the next one fits; AOF size and delayed fsyncs; replicas, the backlog in seconds of writes, role changes; Sentinel and cluster slots.

    RDB · AOF · Sentinel · cluster

Alerts that are already written

On from the first minute.

Press Monitor and these start watching. Each goes to Slack, Telegram, email or a webhook, and says what, where and which service.

  • The main thread saturated for 5 minutescritical
  • A stream group with lag and no consumercritical
  • A replica disconnectedcritical
  • A failed savecritical
  • Keys evicted where none were the day beforewarning
  • A client near its output-buffer limitwarning
Setup

One click. One read-only user.

  1. Install the WatchLog agentOne command on a server, or one Helm chart on a cluster.
  2. WatchLog finds RedisFrom the images and ports the agent already sees. It appears under Applications.
  3. Press MonitorNothing to do without a password; otherwise one command for a read-only user. The page and its alerts start at once.
Platform
kubectl exec -n shop statefulset/redis -- redis-cli ACL SETUSER watchlog reset on '>…' '~*' \
  +info +ping '+slowlog|get' '+slowlog|len' '+latency|latest' '+latency|histogram' \
  '+config|get' '+client|list' '+memory|stats' '+memory|usage' +scan +type +pttl \
  +hlen +llen +scard +zcard +xlen '+xinfo|groups' '+xinfo|consumers' +xpending \
  '+cluster|info' '+cluster|shards' '+acl|whoami'
docker exec shop-redis-1 redis-cli ACL SETUSER watchlog reset on '>…' '~*' \
  +info +ping '+slowlog|get' '+slowlog|len' '+latency|latest' '+latency|histogram' \
  '+config|get' '+client|list' '+memory|stats' '+memory|usage' +scan +type +pttl \
  +hlen +llen +scard +zcard +xlen '+xinfo|groups' '+xinfo|consumers' +xpending \
  '+cluster|info' '+cluster|shards' '+acl|whoami'

On Linux servers the install runs the integrations collector next to the agent; with docker run agents, the service page gives its command. On Kubernetes the chart already runs it.

The command creates a user limited to named, read-only commands. Every call stops after 2 seconds; WatchLog never runs GET, KEYS or MONITOR and never reads a value.

Installed with apt or dnf on a Linux server? WatchLog finds it by its unit’s name, and the server’s own collector reads it on 127.0.0.1 once you press Monitor. Applications on Linux servers.

The ACL, command by command →
Compared

Against an exporter and a dashboard you build.

WhatWatchLogExporter and a dashboard you build
Time to the first chartMinutesHours: an exporter, a scrape config, dashboards
What fills the memoryEach prefix, measured from a sampleA script you run by hand
Who sends a costly commandNamed from the slow logNot available
A stream consumer that leftNamed, with how long agoNot available
Default alertsEleven, written for youRules you write
Works on plain Linux serversYes, and KubernetesDepends on your setup
Reads your valuesNeverDepends on the exporter
Ask your AI

Ask your AI about Redis.

Claude and ChatGPT read the same facts through WatchLog’s MCP server, read-only: what fills the memory, the commands that cost the most and who sends them, and the streams’ groups.

Connect your assistant →

Why is the storefront slow?

list_applications · get_application

storefront/cache is at 97 % of maxmemory and evicting keys, and KEYS shows up in its slow log. Raise maxmemory or add TTLs, and replace KEYS with SCAN.

An example on Docker, written from the docs.
Questions

Redis monitoring, answered.

Which versions are supported?
Redis 6.2 and later and Valkey 7.2 and later, standalone, with replicas, with Sentinel or as a cluster, on Kubernetes and on Linux servers. Latency percentiles and stream lag need Redis 7.
What access does WatchLog need?
None without a password. Otherwise an ACL user limited to named, read-only commands, which WatchLog writes for you. It never runs GET, KEYS, MONITOR, CONFIG SET or FLUSH.
How does it know what fills the memory without reading values?
It reads a bounded sample of key names, at most 20,000 every 10 minutes, with a pause between calls, and asks Redis each key’s size, type and TTL. Only prefixes leave the collector, unless you turn key names on.
Will the sampling slow Redis down?
No. Measured with the sampler at its cap: about 0.2 ms of Redis time a second, under 0.03 % of the main thread. It stops early if Redis answers more slowly than when it began.
Does it see streams?
Yes: each group’s lag and pending entries, each consumer and when it last read, from XINFO GROUPS, XINFO CONSUMERS and XPENDING. It never runs XINFO STREAM, which returns entries.
Does it work on ElastiCache, MemoryDB or Upstash?
Yes. They drop or rename some commands; a panel whose command the server doesn’t have says “not available on this server”, and the rest works.
Can I alert on one command or one stream group?
The defaults already cover a group with no consumer and the main thread; any metric of a command can have its own rule.
Is it free?
The open-source edition is free without limits. WatchLog Cloud is free for 5 servers or nodes.

See your own Redis in five minutes.

Free on WatchLog Cloud for 5 servers or nodes, or run it yourself, open source.