Admin UI
A read-only browser dashboard for a cluster's nodes, streams, buckets, queues, cleanup, and records.
Every node can serve a read-only dashboard for the whole cluster at /admin/ on its metrics listener. It shows the nodes and their load, streams and their leaders, buckets, queues, credentials, and pending cleanup, and it can read records. Any node shows the same cluster. In the Compose stack it is at http://localhost:9191/admin/.
The dashboard reads through a JSON bridge you can call yourself. Here, a queue with three messages, one of them claimed:
curl -s localhost:9191/admin/api/GetQueueStats -d '{"bucket":"apps","key":"emails"}'{
"oldestMessageUnixMs": "1795375012254",
"backlog": "3",
"oldestClaimUnixMs": "1795375024552",
"claims": 1,
"dealingSeats": 1
}Turn it on
The dashboard is on by default but needs --metrics-listen; without a metrics listener there is no dashboard.
The metrics listener has no authentication
Anyone who reaches it sees every stream's metadata and, with the reader on, its records. Keep it on a private network. Make changes with nova over the authenticated admin service instead.
Pages
| Page | Shows |
|---|---|
| Overview | Each node's liveness and load, cluster totals, and the auditor's health |
| Streams | Each stream's address (nova://bucket/key), ID, class, producer policy, and leader, with a bucket filter |
| Stream detail | The descriptor, its reference rows, the trim watermark, its pending cleanup jobs, the leader's live figures, and the record reader |
| Buckets | Each bucket's address, create-on-append settings, defaults for new streams, and pending deletions |
| Queues | One bucket's queues, 25 a page: kind, claims mode, ranges, isolated ranges, backlog age, oldest claim, due lag, and dead letters |
| Audits | Seven of the auditor's queues: each one's depth, its oldest ready age where its jobs carry one, and a short look at its entries |
| Credentials | Each API key's name, key ID, state, grants, and creation time; never the key or its hash |
The Streams page labels a stream Idle when no node holds its writer lease. Elsewhere these docs call that a vacant stream; there, idle means a stream whose last producer closed while its idle timer runs.
A figure shown as N+, or with ≥, is a lower bound: the count stopped at its cap, the queue has more than 64 ranges, or a node did not answer.
Queue figures
The Queues page and GetQueueStats compute each figure on request and store nothing. Each request makes a bounded number of point reads and asks each node that delivers the queue once.
| Field | Meaning |
|---|---|
backlog | Unsettled messages, counted from each range's saved progress to its end |
partial | The queue has more than 64 ranges, and backlog covers the 64 read |
oldestMessageUnixMs | When the oldest unsettled message was first sent |
oldestClaimUnixMs, claims | The oldest claim a worker holds, and how many are out |
oldestDueUnixMs | When the earliest pending retry or delay is ready; in the past, it is the due lag |
deadLetters | Dead letters the queue holds |
dealingSeats, parkedSeats | Ranges with a seat delivering them, and ranges a node delivers with no seat open right now |
unreached | Nodes delivering the queue that did not answer; the other figures leave them out |
Ages are as fresh as the last progress save, at most 250 ms old. When no range of the queue is being read, the backlog age comes from one stored message in each of up to 16 ranges, fullest first. A queue nobody consumes has no seat, so this page is the only place its backlog age shows.
The record reader
The Stream detail page has a record reader. It makes no request until you click Start.
- Start from a sequence number, a timestamp, or the tail. From the tail, it shows about 50 recent records and then follows new ones. The URL keeps the start, so a refresh or a shared link resumes there.
- A stream without a leader serves its stored records without taking a lease. Another node's recent records come through one proxy hop. When a stream's newest records still need ledger recovery, the read runs it and retries until it finishes.
- The browser calls
ReadStreamRecordsabout once a second while following, and back to back while catching up. Scrolling up pauses it; leaving the page stops it. The server keeps no reader state. - A page holds at most 500 records or 1 MiB, and a browser tab at most 1,000 records or 16 MiB, dropping the oldest. Bodies over 4 KiB collapse. You can view a body as text, formatted JSON, or hex.
Where the figures come from
- Stream metadata, reference rows, watermarks, and cleanup jobs come from the metadata store, so any node can show them.
- Node figures come from each node's stats record, a small fixed-size record it refreshes while its session lives: leaders, append and read rates, saturation, drain state, utilization and its resource, metadata p99, and version. The overview marks a missing, stale, or partial record.
- A stream's live figures come from its leader, through at most one hop. If the leader does not answer, the stored metadata still shows.
The overview refreshes about every 2 seconds and detail pages every 5. Lists page through results and every scan has a limit.
Cleanup views
Three views show the auditor's work, all through read-only admin queries:
- The Audits page calls
ListAuditQueuesfor the age and depth ofretention,reap,gc,denorm,teardown,teardown-final, andorphan, with each depth counted up to 1,000. It callsPeekAuditQueuefor up to 50 of a queue's entries: key, time, subject, and the streams it concerns. Therecovery,trimcheck,star-reclaim, and range queues are not listed; read their age fromnova_auditor_due_age_seconds(see Auditor delays). - A stream's detail page calls
GetStreamDetail, which lists the stream's pending jobs from theby-streamindex: job type, due key for matching log lines, ready time, and object. - The Overview page shows the auditor's health beside the node table.
They show pending work only. A finished job disappears, and the dashboard keeps no history.
Bounds
| What could grow | Its bound |
|---|---|
| Node stats | A fixed-size record per node, never per-stream maps |
| The overview | One prefix scan over the nodes |
| Stream lists, queue peeks, pending jobs | A limit and a cursor |
| Queue depth | Counted to a cap, shown as N+ |
| Live figures | One call to one leader, on demand |
| The reader | 500 records or 1 MiB a page; 1,000 records or 16 MiB a tab |
If it goes wrong
| Symptom | Likely cause | What to do |
|---|---|---|
Nothing answers at /admin/ | The node runs without --metrics-listen, or with --admin-ui=false | Set --metrics-listen; the dashboard is on by default |
The record reader fails, and the bridge answers 404: ReadStreamRecords is not mirrored on the admin bridge | The node runs with --admin-ui-reader=false | Expected; read records with nova read, which goes through authentication |
| The overview marks a node's stats missing or stale | The node stopped, or its metadata session ended | Check the node with nova health |
A queue's figures leave out a node, listed in unreached | A node delivering the queue did not answer | Check that node; the other figures are still right for the nodes that answered |