]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: add and rename perf counters for journal and snapshot mirroring
authorDivyansh Kamboj <dkamboj@redhat.com>
Fri, 17 Mar 2023 09:19:14 +0000 (14:49 +0530)
committerDivyansh Kamboj <dkamboj@redhat.com>
Mon, 27 Mar 2023 14:42:47 +0000 (20:12 +0530)
commit88c4ca6ecd5f19cbaecc6a2835ed0185f3a756d3
tree8fbaa1a866f237aad0b6181abe48bd6ab4640454
parentbbb08128f1709b663510bd0c10d39c2dff914096
rbd-mirror: add and rename perf counters for journal and snapshot mirroring

This commit renames the existing snapshot and journal based performance
counters in the rbd-mirror daemon to better reflect their purpose.
Additionally, new perf counters have been added to provide more detailed
information about the synchronization of snapshots between the source
and destination clusters.

This commit also switches to use labels instead of having the image spec
in the name of the counter.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
(cherry picked from commit 1a1477b9fd7f3fcf7eb66c8a768476bea1322d1d)
src/tools/rbd_mirror/Types.h
src/tools/rbd_mirror/image_replayer/journal/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/main.cc