momo-jun commented on code in PR #13919:
URL: https://github.com/apache/pulsar/pull/13919#discussion_r851897599
##########
site2/docs/reference-metrics.md:
##########
@@ -515,6 +516,27 @@ All the schema metrics are labelled with the following
labels:
| pulsar_schema_get_ops_latency | Summary | Latency of successful operations
to get schemas. |
| pulsar_schema_put_ops_latency | Summary | Latency of successful operations
to send schemas. |
+### Offload metrics
+
+All the offload metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster
name that you configured in `broker.conf`.
+- *namespace*: `namespace=${pulsar_namespace}`. `${pulsar_namespace}` is the
namespace name.
+- *topic*: `topic=${pulsar_topic}`. `${pulsar_topic}` is the topic name.
+
+| Name | Type | Description
|
+|------------------------------------------------|---------|---------------------------------------------------------------------------------|
+| brk_ledgeroffloader_offload_error | Counter | The number of
failed operations to offload. |
+| brk_ledgeroffloader_offload_rate | Gauge | The rate of
offloading(bytes/s). |
Review Comment:
@Anonymitaet Makes sense. I will update accordingly.
Can you pls add it to the Pulsar writing style guide? There are many similar
occurrences like "bytes/s".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]