@@ -263,8 +263,8 @@ local u = import 'utils.libsonnet';
263263 'short' ,
264264 |||
265265 label_replace(
266- rate(ceph_rgw_get_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
267- rate(ceph_rgw_get_initial_lat_count {%(matchers)s}[$__rate_interval]) *
266+ rate(ceph_rgw_op_get_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
267+ rate(ceph_rgw_op_get_obj_lat_count {%(matchers)s}[$__rate_interval]) *
268268 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s},
269269 "rgw_host", "$1", "ceph_daemon", "rgw.(.*)"
270270 )
@@ -279,8 +279,8 @@ local u = import 'utils.libsonnet';
279279 $.addTargetSchema(
280280 |||
281281 label_replace(
282- rate(ceph_rgw_put_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
283- rate(ceph_rgw_put_initial_lat_count {%(matchers)s}[$__rate_interval]) *
282+ rate(ceph_rgw_op_put_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
283+ rate(ceph_rgw_op_put_obj_lat_count {%(matchers)s}[$__rate_interval]) *
284284 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s},
285285 "rgw_host", "$1", "ceph_daemon", "rgw.(.*)"
286286 )
@@ -316,8 +316,8 @@ local u = import 'utils.libsonnet';
316316 'short' ,
317317 |||
318318 label_replace(
319- rate(ceph_rgw_get_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
320- rate(ceph_rgw_get_initial_lat_count {%(matchers)s}[$__rate_interval]) *
319+ rate(ceph_rgw_op_get_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
320+ rate(ceph_rgw_op_get_obj_lat_count {%(matchers)s}[$__rate_interval]) *
321321 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s},
322322 "rgw_host", "$1", "ceph_daemon", "rgw.(.*)"
323323 )
@@ -333,14 +333,14 @@ local u = import 'utils.libsonnet';
333333 'Total bytes transferred in/out of all radosgw instances within the cluster' ,
334334 'bytes' ,
335335 'short' ,
336- 'sum(rate(ceph_rgw_get_b {%(matchers)s}[$__rate_interval]))' % $.matchers(),
336+ 'sum(rate(ceph_rgw_op_get_obj_bytes {%(matchers)s}[$__rate_interval]))' % $.matchers(),
337337 'GETs' ,
338338 0 ,
339339 8 ,
340340 8 ,
341341 6
342342 ).addTargets(
343- [$.addTargetSchema('sum(rate(ceph_rgw_put_b {%(matchers)s}[$__rate_interval]))' % $.matchers(),
343+ [$.addTargetSchema('sum(rate(ceph_rgw_op_put_obj_bytes {%(matchers)s}[$__rate_interval]))' % $.matchers(),
344344 'PUTs' )]
345345 ),
346346 RgwOverviewPanel(
@@ -350,8 +350,8 @@ local u = import 'utils.libsonnet';
350350 'short' ,
351351 |||
352352 label_replace(sum by (instance_id) (
353- rate(ceph_rgw_get_b {%(matchers)s}[$__rate_interval]) +
354- rate(ceph_rgw_put_b {%(matchers)s}[$__rate_interval])) *
353+ rate(ceph_rgw_op_get_obj_bytes {%(matchers)s}[$__rate_interval]) +
354+ rate(ceph_rgw_op_put_obj_bytes {%(matchers)s}[$__rate_interval])) *
355355 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s},
356356 "rgw_host", "$1", "ceph_daemon", "rgw.(.*)"
357357 )
@@ -369,8 +369,8 @@ local u = import 'utils.libsonnet';
369369 'short' ,
370370 |||
371371 label_replace(
372- rate(ceph_rgw_put_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
373- rate(ceph_rgw_put_initial_lat_count {%(matchers)s}[$__rate_interval]) *
372+ rate(ceph_rgw_op_put_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
373+ rate(ceph_rgw_op_put_obj_lat_count {%(matchers)s}[$__rate_interval]) *
374374 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s},
375375 "rgw_host", "$1", "ceph_daemon", "rgw.(.*)"
376376 )
@@ -736,14 +736,14 @@ local u = import 'utils.libsonnet';
736736 'short' ,
737737 |||
738738 sum by (instance_id) (
739- rate(ceph_rgw_get_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
740- rate(ceph_rgw_get_initial_lat_count {%(matchers)s}[$__rate_interval])
739+ rate(ceph_rgw_op_get_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
740+ rate(ceph_rgw_op_get_obj_lat_count {%(matchers)s}[$__rate_interval])
741741 ) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s, ceph_daemon=~"$rgw_servers"}
742742 ||| % $.matchers(),
743743 |||
744744 sum by (instance_id) (
745- rate(ceph_rgw_put_initial_lat_sum {%(matchers)s}[$__rate_interval]) /
746- rate(ceph_rgw_put_initial_lat_count {%(matchers)s}[$__rate_interval])
745+ rate(ceph_rgw_op_put_obj_lat_sum {%(matchers)s}[$__rate_interval]) /
746+ rate(ceph_rgw_op_put_obj_lat_count {%(matchers)s}[$__rate_interval])
747747 ) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s, ceph_daemon=~"$rgw_servers"}
748748 ||| % $.matchers(),
749749 'GET {{ceph_daemon}}' ,
@@ -760,11 +760,11 @@ local u = import 'utils.libsonnet';
760760 'bytes' ,
761761 'short' ,
762762 |||
763- rate(ceph_rgw_get_b {%(matchers)s}[$__rate_interval]) *
763+ rate(ceph_rgw_op_get_obj_bytes {%(matchers)s}[$__rate_interval]) *
764764 on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{%(matchers)s, ceph_daemon=~"$rgw_servers"}
765765 ||| % $.matchers(),
766766 |||
767- rate(ceph_rgw_put_b {%(matchers)s}[$__rate_interval]) *
767+ rate(ceph_rgw_op_put_obj_bytes {%(matchers)s}[$__rate_interval]) *
768768 on (instance_id) group_left (ceph_daemon)
769769 ceph_rgw_metadata{%(matchers)s, ceph_daemon=~"$rgw_servers"}
770770 ||| % $.matchers(),
0 commit comments