]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: replace Client connections with active-stdby mgrs 43377/head
authorAvan Thakkar <athakkar@redhat.com>
Thu, 30 Sep 2021 22:26:42 +0000 (03:56 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 11 Oct 2021 16:23:23 +0000 (21:53 +0530)
Fixes: https://tracker.ceph.com/issues/52121
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
monitoring/grafana/dashboards/ceph-cluster.json

index e4e367efdd8b3772b7dee8645398d1c7de3c2bd9..1b91bfe418512c83d9f8024e8724291a0731555b 100644 (file)
       "type": "vonage-status-panel"
     },
     {
-      "colorMode": "Disabled",
+      "colorMode": "Panel",
       "colors": {
         "crit": "rgba(245, 54, 54, 0.9)",
         "disable": "rgba(128, 128, 128, 0.9)",
       "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"
     },
     {