Skip to content

Commit 86c10ff

Browse files
authored
Merge pull request ceph#57739 from rhcs-dashboard/fix-rgw-monitoring-doc
doc/monitoring: update rgw metrics names Reviewed-by: Zac Dover <[email protected]>
2 parents fe8a9f1 + c1ca17a commit 86c10ff

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

doc/monitoring/index.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -277,24 +277,24 @@ Generic metrics
277277
278278
GET operations: related metrics
279279
-------------------------------
280-
- ``ceph_rgw_get_initial_lat_count``: Number of get operations
280+
- ``ceph_rgw_op_global_get_obj_lat_count``: Number of get operations
281281
282-
- ``ceph_rgw_get_initial_lat_sum``: Total latency time for the GET operations
282+
- ``ceph_rgw_op_global_get_obj_lat_sum``: Total latency time for the GET operations
283283
284-
- ``ceph_rgw_get``: Number total of GET requests
284+
- ``ceph_rgw_op_global_get_obj_ops``: Total number of GET requests
285285
286-
- ``ceph_rgw_get_b``: Total bytes transferred in GET operations
286+
- ``ceph_rgw_op_global_get_obj_bytes``: Total bytes transferred in GET operations
287287
288288
289289
Put operations: related metrics
290290
-------------------------------
291-
- ``ceph_rgw_put_initial_lat_count``: Number of get operations
291+
- ``ceph_rgw_op_global_put_obj_lat_count``: Number of get operations
292292
293-
- ``ceph_rgw_put_initial_lat_sum``: Total latency time for the PUT operations
293+
- ``ceph_rgw_op_global_put_obj_lat_sum``: Total latency time for the PUT operations
294294
295-
- ``ceph_rgw_put``: Total number of PUT operations
295+
- ``ceph_rgw_op_global_put_obj_ops``: Total number of PUT operations
296296
297-
- ``ceph_rgw_get_b``: Total bytes transferred in PUT operations
297+
- ``ceph_rgw_op_global_get_obj_bytes``: Total bytes transferred in PUT operations
298298
299299
300300
Useful queries
@@ -303,31 +303,31 @@ Useful queries
303303
.. code-block:: bash
304304
305305
The average of get latencies:
306-
rate(ceph_rgw_get_initial_lat_sum[30s]) / rate(ceph_rgw_get_initial_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
306+
rate(ceph_rgw_op_global_get_obj_lat_sum[30s]) / rate(ceph_rgw_op_global_get_obj_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
307307
308308
The average of put latencies:
309-
rate(ceph_rgw_put_initial_lat_sum[30s]) / rate(ceph_rgw_put_initial_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
309+
rate(ceph_rgw_op_global_put_obj_lat_sum[30s]) / rate(ceph_rgw_op_global_put_obj_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
310310
311311
Total requests per second:
312312
rate(ceph_rgw_req[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
313313
314314
Total number of "other" operations (LIST, DELETE)
315-
rate(ceph_rgw_req[30s]) - (rate(ceph_rgw_get[30s]) + rate(ceph_rgw_put[30s]))
315+
rate(ceph_rgw_req[30s]) - (rate(ceph_rgw_op_global_get_obj_ops[30s]) + rate(ceph_rgw_op_global_put_obj_ops[30s]))
316316
317317
GET latencies
318-
rate(ceph_rgw_get_initial_lat_sum[30s]) / rate(ceph_rgw_get_initial_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
318+
rate(ceph_rgw_op_global_get_obj_lat_sum[30s]) / rate(ceph_rgw_op_global_get_obj_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
319319
320320
PUT latencies
321-
rate(ceph_rgw_put_initial_lat_sum[30s]) / rate(ceph_rgw_put_initial_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
321+
rate(ceph_rgw_op_global_put_obj_lat_sum[30s]) / rate(ceph_rgw_op_global_put_obj_lat_count[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
322322
323323
Bandwidth consumed by GET operations
324-
sum(rate(ceph_rgw_get_b[30s]))
324+
sum(rate(ceph_rgw_op_global_get_obj_bytes[30s]))
325325
326326
Bandwidth consumed by PUT operations
327-
sum(rate(ceph_rgw_put_b[30s]))
327+
sum(rate(ceph_rgw_op_global_put_obj_bytes[30s]))
328328
329329
Bandwidth consumed by RGW instance (PUTs + GETs)
330-
sum by (instance_id) (rate(ceph_rgw_get_b[30s]) + rate(ceph_rgw_put_b[30s])) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
330+
sum by (instance_id) (rate(ceph_rgw_op_global_get_obj_bytes[30s]) + rate(ceph_rgw_op_global_put_obj_bytes[30s])) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata
331331
332332
Http errors:
333333
rate(ceph_rgw_failed_req[30s])

0 commit comments

Comments
 (0)