diff options
author | Venky Shankar <vshankar@redhat.com> | 2021-05-19 07:19:34 +0200 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2022-02-09 08:51:25 +0100 |
commit | b2bc45223b02ded7a5cc921980b3961c5e1d5893 (patch) | |
tree | 9eed7b8b22d465f8266c4abe3fbda1403caba74d /src/pybind/mgr/stats | |
parent | mgr/stats: auto generate metrics names from configured metrics (diff) | |
download | ceph-b2bc45223b02ded7a5cc921980b3961c5e1d5893.tar.xz ceph-b2bc45223b02ded7a5cc921980b3961c5e1d5893.zip |
mgr/stats: include average latencies and stdev in `perf stat` dump
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'src/pybind/mgr/stats')
-rw-r--r-- | src/pybind/mgr/stats/fs/perf_stats.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pybind/mgr/stats/fs/perf_stats.py b/src/pybind/mgr/stats/fs/perf_stats.py index e6a43cf21d1..813aee67c5b 100644 --- a/src/pybind/mgr/stats/fs/perf_stats.py +++ b/src/pybind/mgr/stats/fs/perf_stats.py @@ -36,7 +36,13 @@ MDS_PERF_QUERY_COUNTERS_MAP = OrderedDict({'cap_hit': 0, 'pinned_icaps': 6, 'opened_inodes': 7, 'read_io_sizes': 8, - 'write_io_sizes': 9}) + 'write_io_sizes': 9, + 'avg_read_latency': 10, + 'stdev_read_latency': 11, + 'avg_write_latency': 12, + 'stdev_write_latency': 13, + 'avg_metadata_latency': 14, + 'stdev_metadata_latency': 15}) MDS_PERF_QUERY_COUNTERS = [] # type: List[str] MDS_GLOBAL_PERF_QUERY_COUNTERS = list(MDS_PERF_QUERY_COUNTERS_MAP.keys()) |