Dashboard: per-host Docker volumes total (0.21.1)
The per-host resource bar gained a "Volumes" stat showing the total size of that host's Docker volumes. It reuses the existing cached /volumes/sizes lookup (docker system df, ~60s TTL) summed client-side, polled every 60s per host so the slow df walk never blocks the fast system-info poll. Frontend-only. Fixed sumSizes to reduce<number> so the value is number|undefined. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
d1c63a329b
commit
bb29ef1c98
@@ -152,9 +152,10 @@ as intuitive as Dockge, as capable as Portainer for Compose workflows.
|
||||
|
||||
- The dashboard now shows, **per host** (local + each registered agent, online
|
||||
dot / offline notice), a **resource overview bar** (CPU cores, memory
|
||||
used/total, disk used/total, containers, Docker version) and a
|
||||
**stacks-with-usage table** with CPU/memory meters and inline
|
||||
start/stop/restart.
|
||||
used/total, disk used/total, Docker volumes total, containers, Docker version)
|
||||
and a **stacks-with-usage table** with CPU/memory meters and inline
|
||||
start/stop/restart. The volumes total reuses the cached `/volumes/sizes`
|
||||
lookup (`docker system df`), polled gently (~60s).
|
||||
- New agent endpoint `/agent/stacks/stats` (proxied at
|
||||
`/api/agents/{id}/stacks/stats`); `/agent/system` now also reports `cpu_cores`,
|
||||
`mem_total`, `mem_used`, and `disk_total`/`disk_used` (disk of the host volume
|
||||
|
||||
Reference in New Issue
Block a user