Skip to content

mgr/dashboard: fix stale metrics in hardware dashboards - #70292

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:fix-hw-dashboard-stale-metrics
Jul 23, 2026
Merged

afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:fix-hw-dashboard-stale-metrics

Conversation

@afreen23

@afreen23 afreen23 commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

@afreen23
afreen23 requested a review from a team as a code owner July 17, 2026 15:58
@afreen23
afreen23 force-pushed the fix-hw-dashboard-stale-metrics branch from d445694 to d18b48b Compare July 22, 2026 20:01
@afreen23 afreen23 changed the title mgr/dashboard: fix stale metrics and add node-proxy status panel mgr/dashboard: fix stale metrics in hardware dashboard Jul 22, 2026
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 <[email protected]>
@afreen23
afreen23 force-pushed the fix-hw-dashboard-stale-metrics branch from d18b48b to 8321ca2 Compare July 22, 2026 20:13
@afreen23 afreen23 changed the title mgr/dashboard: fix stale metrics in hardware dashboard mgr/dashboard: fix stale metrics in hardware dashboards Jul 22, 2026
@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Jul 23, 2026
@afreen23
afreen23 merged commit 4083c6e into ceph:main Jul 23, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 23, 2026
@afreen23
afreen23 deleted the fix-hw-dashboard-stale-metrics branch July 23, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants