]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rename request traces and change for tags 52392/head
authorOmri Zeneva <ozeneva@redhat.com>
Tue, 20 Sep 2022 12:13:57 +0000 (08:13 -0400)
committerYuval Lifshitz <ylifshit@ibm.com>
Tue, 11 Jul 2023 09:52:27 +0000 (09:52 +0000)
commitea8765dae1d6d018b6478af8bf1ad143a079b343
tree17c43ee3f74e92e6752d20ec7c37f90486274b03
parent914d0ddc008a5375e31f4f13092b203ecf242939
rgw: rename request traces and change for tags

when we have a lot of traces, for example on multisite configuration
we have traces for list_meta_logs and list_data_changes and
it become too verbose to have trans id as the trace name,
the filtering in the jaeger gui becomes a mess,
so we will have the trans_id as tag, so ops of same
type will be named the op name only for cleaner usage.

the tag 'return' is ambigious. the actual name should be 'op_result'
so we can distinguish between http return code and op return value.

the tag 'type' doesn't add extra information, so it removed.

s well, add host_id as tag for the request trace.

Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
src/rgw/rgw_process.cc
src/rgw/rgw_tracer.h