From: Mykola Golub Date: Tue, 8 Jan 2019 10:00:55 +0000 (+0000) Subject: pybind/mgr/diskprediction_cloud: only perfs for mon and osd needed X-Git-Tag: v14.1.0~429^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb3d573a6ef96eaa59a4e344bcfeb63f648d765f;p=ceph.git pybind/mgr/diskprediction_cloud: only perfs for mon and osd needed Signed-off-by: Mykola Golub --- diff --git a/src/pybind/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py b/src/pybind/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py index c8d9ae92f70c..d2c0c649fbf8 100644 --- a/src/pybind/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py +++ b/src/pybind/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py @@ -210,7 +210,7 @@ class CephMonOsdAgent(MetricsAgent): def _collect_data(self): # process data and save to 'self.data' obj_api = ClusterAPI(self._module_inst) - perf_data = obj_api.module.get_all_perf_counters() + perf_data = obj_api.module.get_all_perf_counters(services=('mon', 'osd')) if not perf_data and not isinstance(perf_data, dict): self._logger.error('unable to get all perf counters') return