]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: Language and use inline code for labels in metrics.rst 63064/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Wed, 30 Apr 2025 09:06:31 +0000 (16:06 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Wed, 30 Apr 2025 14:26:48 +0000 (21:26 +0700)
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

index 619897c7ad1929d09a84ed42df3a15056181d18d..959552b426629f2e6e896c1967454e1df7d03d71 100644 (file)
@@ -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.