]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: record metrics from all MDSs in MDS rank 0
authorVenky Shankar <vshankar@redhat.com>
Mon, 5 Aug 2019 09:32:28 +0000 (05:32 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 1 Jun 2020 08:05:39 +0000 (04:05 -0400)
commit17fc7a589a90a0f08674f5da79662e3e915bf44a
treec90ca4a46f65780c95cf80326d94c91ad7ed864a
parent6b8f7799335349074be706fe2e089afda6c9e84f
mds: record metrics from all MDSs in MDS rank 0

`MetricAggregator` class aggregates metrics from all active ranks
and places metrics appropriately as defined by user queries.

This is implemented as a separate dispatcher since metric update
messages from active MDSs are frequent so as to avoid messages
getting stuck in MDSRank queue (suggested by Patrick).

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/MetricAggregator.cc [new file with mode: 0644]
src/mds/MetricAggregator.h [new file with mode: 0644]