feat(widgets): Overview verdict, pending monitors' age, fullest filesystems first (#5810)
CI / lint (push) Successful in 2s
CI / integration (push) Successful in 1m23s
CI / unit (push) Successful in 1m33s
CI / publish (push) Successful in 1m16s

- Overview: a verdict line when something is wrong ('1 alert firing, 1
  monitor down.'); its picker description now says what it lists (alerts,
  monitors down, anomalies). Host figures have their home in Hosts.
  Comments no longer name the Status page that was folded into Monitors.
- Monitors widget: a monitor not checked yet says when it was added.
- Host page: filesystems fullest first, by the worse of space and inodes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 10:11:37 -04:00
co-authored by Claude Opus 5.5
parent 5c7a4cf9a0
commit b29b160baa
8 changed files with 45 additions and 6 deletions
+4
View File
@@ -864,6 +864,10 @@ def _split_host_metrics(host_name: str, latest: dict) -> tuple:
else:
mounts[suffix] = metrics
cores.sort(key=lambda c: c[0])
# Fullest first, by the worse of space and inodes (#5810): a full
# /var/lib/docker must not sort after /boot.
mounts = dict(sorted(mounts.items(), key=lambda kv: (
-max(kv[1].get("disk_used_pct") or 0, kv[1].get("inodes_used_pct") or 0), kv[0])))
return hostlvl, cores, nets, disks_io, temps, mounts