From 0ed255735c0b485d2ca0d39d288e36ae2381d7ad Mon Sep 17 00:00:00 2001 From: Patrick Seidensal Date: Mon, 14 Jun 2021 18:13:54 +0200 Subject: [PATCH] mgr/dashboard: Fix Grafana Ceph Cluster health status widget The health status widget doesn't show any status because it requires its query to return a single result. But in case a mgr instance had failed, it would return more, provided the incident has happened in the requested time frame. This is simply an issue of the `instant` switch being disabled for that widget. As only one mgr instance can ever be providing data at a time, enabling `instant` completely solves that issue. Fixes: https://tracker.ceph.com/issues/51212 Signed-off-by: Patrick Seidensal (cherry picked from commit 4270a13d6c2400162896ce5e4145729615a001e2) --- monitoring/grafana/dashboards/ceph-cluster.json | 1 + 1 file changed, 1 insertion(+) diff --git a/monitoring/grafana/dashboards/ceph-cluster.json b/monitoring/grafana/dashboards/ceph-cluster.json index a08dc26f34f..5603b064af6 100644 --- a/monitoring/grafana/dashboards/ceph-cluster.json +++ b/monitoring/grafana/dashboards/ceph-cluster.json @@ -109,6 +109,7 @@ { "expr": "ceph_health_status{instance=~'$instance'}", "format": "time_series", + "instant": true, "interval": "$interval", "intervalFactor": 1, "refId": "A", -- 2.47.3