mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
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 <pseidensal@suse.com>
This commit is contained in:
parent
f51cab109d
commit
4270a13d6c
@ -109,6 +109,7 @@
|
||||
{
|
||||
"expr": "ceph_health_status{instance=~'$instance'}",
|
||||
"format": "time_series",
|
||||
"instant": true,
|
||||
"interval": "$interval",
|
||||
"intervalFactor": 1,
|
||||
"refId": "A",
|
||||
|
Loading…
Reference in New Issue
Block a user