]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix stale metrics in hardware dashboards 70292/head
authorAfreen Misbah <afreen@ibm.com>
Fri, 17 Jul 2026 15:51:40 +0000 (21:21 +0530)
committerAfreen Misbah <afreen@ibm.com>
Wed, 22 Jul 2026 20:13:38 +0000 (01:43 +0530)
commit8321ca25d7cb20efd2afbeb83766f4119f64b47e
treed2a34a392b22fa8c636bd97b34e3fb165deddb40
parentaf595ea7fbd1c0b496de69a580c3712a5c5557c8
mgr/dashboard: fix stale metrics in hardware dashboards

Switch all stat panels in the hardware and hardware compression
dashboards from lastNotNull to last reduceFunction. When a host is
unreachable or node-proxy stops, metric silence is ambiguous — it
could mean host down, agent crash, or scrape failure. lastNotNull
freezes the last known value (e.g. 4 NVMe drives), causing
inconsistency with the global Overview which reflects live count
reductions.

Use last so panels show N/A when no current data arrives.

Fixes: https://tracker.ceph.com/issues/78360
Signed-off-by: Afreen Misbah <afreen@ibm.com>
monitoring/ceph-mixin/dashboards/hardware.libsonnet
monitoring/ceph-mixin/dashboards_out/ceph-hardware-compression.json
monitoring/ceph-mixin/dashboards_out/hardware.json