From aaeec93efd2ae03d740299a5b22bb9203fbd7b8d Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Wed, 19 May 2021 01:18:51 -0400 Subject: [PATCH] mgr/stats: auto generate metrics names from configured metrics Signed-off-by: Venky Shankar --- src/pybind/mgr/stats/fs/perf_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/stats/fs/perf_stats.py b/src/pybind/mgr/stats/fs/perf_stats.py index 13d2adc8fc1..e6a43cf21d1 100644 --- a/src/pybind/mgr/stats/fs/perf_stats.py +++ b/src/pybind/mgr/stats/fs/perf_stats.py @@ -38,7 +38,7 @@ MDS_PERF_QUERY_COUNTERS_MAP = OrderedDict({'cap_hit': 0, 'read_io_sizes': 8, 'write_io_sizes': 9}) MDS_PERF_QUERY_COUNTERS = [] # type: List[str] -MDS_GLOBAL_PERF_QUERY_COUNTERS = ['cap_hit', 'read_latency', 'write_latency', 'metadata_latency', 'dentry_lease', 'opened_files', 'pinned_icaps', 'opened_inodes', 'read_io_sizes', 'write_io_sizes'] # type: List[str] +MDS_GLOBAL_PERF_QUERY_COUNTERS = list(MDS_PERF_QUERY_COUNTERS_MAP.keys()) QUERY_EXPIRE_INTERVAL = timedelta(minutes=1) -- 2.47.3