From 9ccfcf2d6bc9a97b9d54dc8669dc2bc0678796d1 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Wed, 19 Jun 2019 21:40:36 +0200 Subject: [PATCH] dashboards: Show only open sessions We should use 'ceph_mds_sessions_sessions_open' instead of 'ceph_mds_sessions_session_count' to compute the number of (active) clients. Otherwise, we include all the sessions, including the stale ones. Resolves: rhbz#1652896 Signed-off-by: Boris Ranto --- dashboards/mgr-prometheus/mds-performance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboards/mgr-prometheus/mds-performance.json b/dashboards/mgr-prometheus/mds-performance.json index 6ef2390..c108aac 100644 --- a/dashboards/mgr-prometheus/mds-performance.json +++ b/dashboards/mgr-prometheus/mds-performance.json @@ -281,7 +281,7 @@ "tableColumn": "", "targets": [ { - "expr": "sum(ceph_mds_sessions_session_count)", + "expr": "sum(ceph_mds_sessions_sessions_open)", "format": "time_series", "instant": true, "intervalFactor": 1, -- 2.47.3