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:
Patrick Seidensal 2021-06-14 18:13:54 +02:00
parent f51cab109d
commit 4270a13d6c
No known key found for this signature in database
GPG Key ID: E8DE675E1D128B94

View File

@ -109,6 +109,7 @@
{
"expr": "ceph_health_status{instance=~'$instance'}",
"format": "time_series",
"instant": true,
"interval": "$interval",
"intervalFactor": 1,
"refId": "A",