]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: perf counters cache + rgw op labeled counters
authorAli Maredia <amaredia@redhat.com>
Tue, 2 May 2023 20:22:19 +0000 (16:22 -0400)
committerAli Maredia <amaredia@redhat.com>
Thu, 12 Oct 2023 19:46:08 +0000 (15:46 -0400)
commitcc373de90932a4f2dd54466062fae89f6598ea67
tree5ea53147b2bbc4e94793940b7ee2bc9b34221168
parent4e051e66a3eb88828e4f21fc6e20b606eb305be0
common: perf counters cache + rgw op labeled counters

This commit contains the following features:
- a perf counters cache per CephContext that acts
as a wrapper around perf counters for storing and
modifying labeled perf counters per CephContext
- instrumentation of the rgw with labeled perf
injest counters for the major rgw ops

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/common/CMakeLists.txt
src/common/options/rgw.yaml.in
src/common/perf_counters.cc
src/common/perf_counters_cache.cc [new file with mode: 0644]
src/common/perf_counters_cache.h [new file with mode: 0644]
src/rgw/rgw_file.cc
src/rgw/rgw_op.cc
src/rgw/rgw_perf_counters.cc
src/rgw/rgw_perf_counters.h
src/test/CMakeLists.txt
src/test/test_perf_counters_cache.cc [new file with mode: 0644]