From d388c5e958ddf5447c78db50ca2061bb443d2227 Mon Sep 17 00:00:00 2001 From: Avan Thakkar Date: Fri, 1 Oct 2021 03:56:42 +0530 Subject: [PATCH] mgr/dashboard: replace Client connections with active-stdby mgrs Fixes: https://tracker.ceph.com/issues/52121 Signed-off-by: Avan Thakkar --- .../grafana/dashboards/ceph-cluster.json | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/monitoring/grafana/dashboards/ceph-cluster.json b/monitoring/grafana/dashboards/ceph-cluster.json index e4e367efdd8..1b91bfe4185 100644 --- a/monitoring/grafana/dashboards/ceph-cluster.json +++ b/monitoring/grafana/dashboards/ceph-cluster.json @@ -678,7 +678,7 @@ "type": "vonage-status-panel" }, { - "colorMode": "Disabled", + "colorMode": "Panel", "colors": { "crit": "rgba(245, 54, 54, 0.9)", "disable": "rgba(128, 128, 128, 0.9)", @@ -706,21 +706,36 @@ "targets": [ { "aggregation": "Last", - "alias": "Clients", + "alias": "Active", "decimals": 2, "displayAliasType": "Always", "displayType": "Regular", "displayValueWithAlias": "When Alias Displayed", - "expr": "ceph_mds_server_handle_client_session", + "expr": "count(ceph_mgr_status == 1) or vector(0)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "Clients", + "legendFormat": "Active", "refId": "A", "units": "none", "valueHandler": "Number Threshold" + }, + { + "aggregation": "Last", + "alias": "Standby", + "decimals": 2, + "displayAliasType": "Always", + "displayType": "Regular", + "displayValueWithAlias": "When Alias Displayed", + "expr": "count(ceph_mgr_status == 0) or vector(0)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Standby", + "refId": "B", + "units": "none", + "valueHandler": "Number Threshold" } ], - "title": "Client connections", + "title": "MGRs", "type": "vonage-status-panel" }, {