]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: support conditional tracing using lua script 45662/head
authorOmri Zeneva <ozeneva@redhat.com>
Sun, 20 Mar 2022 19:10:34 +0000 (15:10 -0400)
committerOmri Zeneva <ozeneva@redhat.com>
Wed, 11 May 2022 08:10:02 +0000 (11:10 +0300)
commit6ec1565b14aa4aad1263cb4c08ecf8ccec097930
tree22c6327c01e69893c06e7c297e8c9a0f2ee18c9f
parent5ba7d8520d02dbf876b7c07fd978e9987e1795c8
rgw: support conditional tracing using lua script

before lua script is being executed, we keep the tracer runtime configuration value, and then decides whether to trace or not the request based on the value that maybe changed during lua exeuction, so we can disable/enable tracing for request even if the tracer is in the opposite state at the same time

Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
doc/radosgw/lua-scripting.rst
src/common/tracer.cc
src/common/tracer.h
src/rgw/rgw_common.h
src/rgw/rgw_lua_request.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_process.cc