From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Wed, 30 Apr 2025 09:06:31 +0000 (+0700) Subject: doc/radosgw: Language and use inline code for labels in metrics.rst X-Git-Tag: testing/wip-vshankar-testing-20250505.162437-debug~26^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6dae0fb9d156c10e1bdfc82ddc811dcb2e250d39;p=ceph-ci.git 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> --- diff --git a/doc/radosgw/metrics.rst b/doc/radosgw/metrics.rst index 619897c7ad1..959552b4266 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.