]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
dashboards: Show only open sessions 237/head
authorBoris Ranto <branto@redhat.com>
Wed, 19 Jun 2019 19:40:36 +0000 (21:40 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 19 Jun 2019 19:41:22 +0000 (21:41 +0200)
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 <branto@redhat.com>
dashboards/mgr-prometheus/mds-performance.json

index 6ef2390f4bc3dfcf29449301cb22f1d8d359420d..c108aac45b9eb43b480f33891ce57e254e2e0081 100644 (file)
       "tableColumn": "",
       "targets": [
         {
-          "expr": "sum(ceph_mds_sessions_session_count)",
+          "expr": "sum(ceph_mds_sessions_sessions_open)",
           "format": "time_series",
           "instant": true,
           "intervalFactor": 1,