]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: remove mdsmap-derived perf counters
authorJohn Spray <john.spray@redhat.com>
Tue, 12 Sep 2017 22:39:01 +0000 (23:39 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 12 Sep 2017 22:45:32 +0000 (23:45 +0100)
commit1bd080fcaee4e1a175693bdf2e7bc953839a658d
treea5602dffcf52950486892340fb5c0307f6fd889f
parent4d8971e1c8916f1e470c7b011c80b9b3f9b7aca9
mon: remove mdsmap-derived perf counters

Stats collectors that want this kind of information should
be looking at the cluster maps to get it.

Reasoning:
 - It's confusing to have two places to get at this sort of status
 - In the CephFS case, these counters were not that useful as they
   globbed all filesystems together.
 - It's awkward to have these stats output as perf counters of
   ceph-mon daemons, where a naive TSDB collector will not understand
   that they are really cluster-wide things.

Inspired by: http://tracker.ceph.com/issues/21311

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h
src/mon/Monitor.cc
src/mon/Monitor.h