From: Patrick Seidensal Date: Mon, 14 Jun 2021 16:13:54 +0000 (+0200) Subject: mgr/dashboard: Fix Grafana Ceph Cluster health status widget X-Git-Tag: v16.2.6~120^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ed255735c0b485d2ca0d39d288e36ae2381d7ad;p=ceph.git 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) --- diff --git a/monitoring/grafana/dashboards/ceph-cluster.json b/monitoring/grafana/dashboards/ceph-cluster.json index a08dc26f34f0..5603b064af68 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",