You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/18 03:06:35 UTC

[GitHub] [pulsar] Anonymitaet commented on a diff in pull request #13919: [feature][doc] Add offload metrics for broker and some minor fixes for tiered storage

Anonymitaet commented on code in PR #13919:
URL: https://github.com/apache/pulsar/pull/13919#discussion_r851853019


##########
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:
   ```suggestion
   | brk_ledgeroffloader_offload_rate               | Gauge   | The rate of offloading (bytes/second).                                                |
   ```



##########
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).                                                |
+| brk_ledgeroffloader_read_offload_error         | Counter | The number of failed operations to read offload ledgers.                        |
+| brk_ledgeroffloader_read_offload_rate          | Gauge   | The rate of reading entries from offload ledgers(bytes/s).                      |

Review Comment:
   same



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org