]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add HEAD Object op metrics to perf counters and Prometheus export 69086/head
authorHarsimran Singh <hsthukral51@gmail.com>
Tue, 26 May 2026 06:11:06 +0000 (11:41 +0530)
committerHarsimran Singh <hsthukral51@gmail.com>
Tue, 26 May 2026 06:11:06 +0000 (11:41 +0530)
commit3a9ab7a5f60d3e72ea3421eb9744e3e0d3ceed2f
treeeeae95c87a4592536d06336fc9d2cb957beea43d
parentb9beb2b652bc41030bd0a10470de2f18231a22dc
rgw: add HEAD Object op metrics to perf counters and Prometheus export

Expose HEAD Object operation metrics in the same format as existing RGW op metrics so operators can track HEAD request volume and latency at gateway, user, and bucket scope.

Previously, HEAD Object requests were silently counted under get_obj_ops because RGWGetObj handles both GET and HEAD. The HEAD-specific early-return path (get_data == false) had no counter instrumentation.

Fixes: ISCE-3042
Signed-off-by: Harsimran Singh <harsimransingh@ibm.com>
doc/radosgw/metrics.rst
src/rgw/rgw_op.cc
src/rgw/rgw_perf_counters.cc
src/rgw/rgw_perf_counters.h