From: Boris Ranto Date: Wed, 19 Jun 2019 19:40:36 +0000 (+0200) Subject: dashboards: Show only open sessions X-Git-Tag: v2.0.3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ccfcf2d6bc9a97b9d54dc8669dc2bc0678796d1;p=cephmetrics.git 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 --- 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,