· WatchLog 1.4.0
MongoDB and Redis, much deeper
The MongoDB and Redis pages now answer what a person on call asks: what it is waiting on, what is responsible, which service sends it, and what changed. Read-only, with the same least-privilege users, never reading your data.
- MongoDB: active operations by what they wait on, sampled every 15 seconds
- Redis and Valkey: what fills the memory, from a bounded sample of key names
- Seven new default alerts, few and precise
The release note
The MongoDB and Redis pages now answer what a person on call asks: what is it waiting on, what is responsible, which service sends it, and what changed, on Kubernetes clusters and Linux servers alike, with the same least-privilege users, read-only and never reading your data.
What's new
- MongoDB, what it waits on. Active operations sampled every 15 seconds by what they wait
on (running, a lock, a ticket, flow control), by operation shape and by client. Shapes come
from
$queryStatswhere the server keeps it, otherwise from the slow log, with calls, mean against usual, documents examined against returned, "sent mostly by" and "probably missing an index" naming the collection and the fields it filters on. - MongoDB, the rest of the server. Clients and their churn, open transactions and who holds them, idle cursors that never time out; each member's heartbeat, priority and votes, elections with why, rollbacks and flow control; collections' sizes, growth and reusable space; indexes unused on every member and redundant ones; eviction by application threads and checkpoints. A page for one shape and one collection.
- Redis and Valkey, what fills the memory. A bounded sample of key names (at most 20,000 every 10 minutes, stopped if Redis slows) gives each prefix's memory, keys, share with a TTL, type and growth, and the largest keys. Values are never read; key names leave the collector only if you turn Show key names on.
- Redis, the rest. The main thread's share of a core; each command's calls, latency percentiles (7.0+) and failures; the slow log by the workload that sent each entry; clients against their output-buffer limits; streams and their consumer groups (lag, pending, the consumer that went quiet); whether the next save fits in the memory left; the backlog; Sentinel's masters and a cluster's slots. Pages for one prefix, command and stream group.
- Findings with the cause first, after the designs: "collection scans on shop.events, sent by analytics, fill the cache"; "keys under session:* hold 58% of memory and 92% have no TTL: keys are being evicted"; "the main thread is saturated: KEYS, sent by report-cron"; "group billing is falling behind: its consumer is gone". Probable cause follows them to the workload.
- Seven new default alerts, few and precise; services monitored before are offered them on their Alerts tab.
- Managed services (Atlas, DocumentDB, ElastiCache, MemoryDB, Upstash) keep working; a panel whose command the server doesn't have says "not available on this server".
Upgrading
Nothing to do; no migration. Update the integrations collector with the rest (the Helm chart and
the server install do). The generated Redis ACL names more commands, all read-only; a user
created before keeps working, and each panel it can't fill names the command to add. MongoDB
needs nothing beyond clusterMonitor. Details: ADR-247, ADR-248 and ADR-249, and the
MongoDB and
Redis pages.
1.4.1 · MongoDB's operations by type are back
Found on the live demo within the hour of 1.4.0.
What's new
- MongoDB's operations by type are back: queries, inserts, updates, deletes, get-mores and commands a second, on the Overview and the Operations tab, with each kind's mean latency (reads, writes, commands) beside them. 1.4.0 had left the chart out of the new Overview.
- The shapes table says operation and returned, not statement and rows.
- Clearer numbers in MongoDB's findings: the documents each scan reads are written short ("197 k"), as in the table, and the client sending the scans says "N · scans" in the flow.
- Redis's key sampler keeps a small instance's prefixes fresh: it starts a new pass as soon as its budget allows (every minute or two for a few thousand keys) instead of once every 10 minutes, within the same bound of 20,000 names a window.
- The busiest collections leave out MongoDB's own
$cmdnamespaces.
Upgrading
Nothing to do; no migration. Update the integrations collector with the rest.
1.4.2 · Who sends a statement counts a workload's pods together
Found on the live demo after 1.4.1.
What's fixed
- Who sends a statement counts a workload's pods together. A CronJob's runs each get a new pod and address; counted apart, none of them held most of the hour's sightings, so MongoDB's scan finding, the shapes' "sent mostly by" and the slow operations lost their sender (and probable cause its workload). PostgreSQL and MySQL statements gain the same.
- MongoDB's scan finding without a known sender no longer reads "… documents. sends them."; it says what the scans do without a name.
- The docs mention MongoDB's operations by type.
Upgrading
Nothing to do; no migration.
1.4.3 · Charts scale to their data, so a change is visible
Every chart in the dashboard draws through the same few components, so every page gets these.
What's new
- A level scales to its data. Memory, connections, latency, sizes and lag no longer start at 0: 212 MiB that moves by 10 MiB is a line that moves, not a flat line near the top. The axis is never narrower than a tenth of the value, so noise isn't magnified and a flat series stays a flat line in the middle. Stacked areas, bars, percentages, a chart with a limit or threshold line, data already near 0 and a rate that touches 0 still start at 0. Switching a series off in the legend rescales the chart.
- Histograms (operation and query latency) show each column's count with its share, sit on a y axis with ticks, and show a tooltip on hover and on keyboard focus. An empty bucket keeps its label and shows 0.
- Cards in a row keep their own height, and a top list beside a chart shows 8 rows with "Show all N".
- Every chart has a tooltip with the time and the value with its unit: the sparklines on the overview, nodes, workloads and containers, a job's last runs, What changed and the events histogram included.
What's fixed
- Redis's command latency histogram could show shares above 100% or below 0 (each command's bucket edges, summed).
- A legend with many series (Redis's calls by command) scrolls on one line instead of covering the chart.
Upgrading
Nothing to do; no migration.
1.4.4 · Histogram labels on one line, Redis latency that adds up
Found on the live demo within the hour of 1.4.3.
What's fixed
- A histogram's axis labels stay on one line ("80 k", not "80" over "k").
- Redis's command latency adds up to the whole. It shows the last 12 latency edges; the calls under the edges below them (1, 2 and 4 µs, most of them) were left out, so the columns' shares added up to about a quarter. The first column now holds every call up to its edge.
Upgrading
Nothing to do; no migration.