]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: add some slow count for bluestore
authoryite.gu <yitegu0@gmail.com>
Fri, 18 Aug 2023 08:45:05 +0000 (16:45 +0800)
committeryite.gu <yitegu0@gmail.com>
Mon, 21 Aug 2023 06:52:11 +0000 (14:52 +0800)
commit5132683228ef18d44a7a65f9b391b3f19a48e751
tree7871b19bbbba8d012fdfb6707749280a485acad4
parent38dea7dc2156bd003d2291e9f2d82688490beb53
os/bluestore: add some slow count for bluestore

Add slow count as below:
- l_bluestore_slow_aio_wait_count
- l_bluestore_slow_committed_kv_count
- l_bluestore_slow_read_onode_meta_count
- l_bluestore_slow_read_wait_aio_count

We can get a count while bluestore happens slowly,
in some cases, this is more useful than average latency.
Add it to prometheus, we can get it from the dashboard.

Signed-off-by: Yite Gu <yitegu0@gmail.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h