]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: track per session client metrics
authorVenky Shankar <vshankar@redhat.com>
Mon, 4 Feb 2019 13:19:58 +0000 (18:49 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 1 Jun 2020 08:05:39 +0000 (04:05 -0400)
commit529ea1c0a9dbef762d94d0de6d9bf80e7717848b
treec57d94e67c7e27b2e4ba1104630f7c7a4b09e217
parent17fc7a589a90a0f08674f5da79662e3e915bf44a
mds: track per session client metrics

Every MDS maintains a view of metrics that are forwarded to
it by clients. This is updated when clients forward metrics
via MClientMetrics message type. Periodically, each MDS
forwards its collected metrics to MDS rank 0 (which maintains
an aggregated view of metrics of all clients on all ranks).

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/common/options.cc
src/mds/CMakeLists.txt
src/mds/MDSRank.cc
src/mds/MDSRank.h
src/mds/MetricsHandler.cc [new file with mode: 0644]
src/mds/MetricsHandler.h [new file with mode: 0644]
src/mds/Server.cc
src/mds/Server.h