From 6dae0fb9d156c10e1bdfc82ddc811dcb2e250d39 Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:06:31 +0700 Subject: [PATCH] doc/radosgw: Language and use inline code for labels in metrics.rst Use inline code formatting for label syntax examples inside text. Small improvements to language. Use all lower case for labels. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> --- doc/radosgw/metrics.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/radosgw/metrics.rst b/doc/radosgw/metrics.rst index 619897c7ad192..959552b426629 100644 --- a/doc/radosgw/metrics.rst +++ b/doc/radosgw/metrics.rst @@ -117,7 +117,7 @@ To view op metrics in the Ceph Object Gateway go to the ``rgw_op`` sections of t Op Metrics Labels ----------------- -Op metrics can also be tracked per-user or per-bucket. These metrics are exported to Prometheus with labels like Bucket = {name} or User = {userid}:: +Op metrics can also be tracked per-user or per-bucket. These metrics are exported to Prometheus with labels ``bucket = {name}`` or ``user = {userid}``:: "rgw_op_per_bucket": [ ... @@ -152,7 +152,7 @@ Op metrics can also be tracked per-user or per-bucket. These metrics are exporte ... ] -:ref:`rgw-multitenancy` allows to use buckets and users of the same name simultaneously. If a user or bucket lies under a tenant, a label for tenant in the form Tenant = {tenantid} is added to the metric. +:ref:`rgw-multitenancy` allows the use of buckets and users of the same name simultaneously. If a user or bucket lies under a tenant, a label for tenant in the form ``tenant = {tenantid}`` is added to the metric. In a large system with many users and buckets, it may not be tractable to export all metrics to Prometheus. For that reason, the collection of these labeled metrics is disabled by default. -- 2.39.5