This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new a92f7003d65 Fix error metric prefix (#598)
a92f7003d65 is described below
commit a92f7003d65130b1415b9534e9b8860cd3d12512
Author: Jiwei Guo <[email protected]>
AuthorDate: Wed Jun 7 11:49:21 2023 +0800
Fix error metric prefix (#598)
---
docs/deploy-monitoring.md | 12 +++----
docs/reference-metrics.md | 38 +++++++++++-----------
versioned_docs/version-2.10.x/deploy-monitoring.md | 12 +++----
versioned_docs/version-2.10.x/reference-metrics.md | 16 ++++-----
versioned_docs/version-2.11.x/deploy-monitoring.md | 12 +++----
versioned_docs/version-2.11.x/reference-metrics.md | 38 +++++++++++-----------
versioned_docs/version-2.8.x/deploy-monitoring.md | 10 +++---
versioned_docs/version-2.8.x/reference-metrics.md | 16 ++++-----
versioned_docs/version-2.9.x/deploy-monitoring.md | 12 +++----
versioned_docs/version-2.9.x/reference-metrics.md | 20 ++++++------
versioned_docs/version-3.0.x/deploy-monitoring.md | 12 +++----
versioned_docs/version-3.0.x/reference-metrics.md | 38 +++++++++++-----------
12 files changed, 118 insertions(+), 118 deletions(-)
diff --git a/docs/deploy-monitoring.md b/docs/deploy-monitoring.md
index 3f038d0abfd..72696c7b256 100644
--- a/docs/deploy-monitoring.md
+++ b/docs/deploy-monitoring.md
@@ -61,11 +61,11 @@ The default port for bookie is `8000`. You can change the
port by configuring `p
The acknowledgment state is persistent to the ledger first. When the
acknowledgment state fails to be persistent to the ledger, they are persistent
to ZooKeeper. To track the stats of acknowledgment, you can configure the
metrics for the managed cursor.
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
Those metrics are added in the Prometheus interface, you can monitor and check
the metrics stats in Grafana.
@@ -116,4 +116,4 @@ The following are some Grafana dashboards examples:
-
[apache-pulsar-grafana-dashboard](https://github.com/streamnative/apache-pulsar-grafana-dashboard):
a collection of Grafana dashboard templates for different Pulsar components
running on both Kubernetes and on-premise machines.
## Alerting rules
-You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
\ No newline at end of file
+You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
diff --git a/docs/reference-metrics.md b/docs/reference-metrics.md
index 0fdd0a577a7..fc432171bc0 100644
--- a/docs/reference-metrics.md
+++ b/docs/reference-metrics.md
@@ -334,14 +334,14 @@ All the cursor acknowledgment state metrics are labeled
with the following label
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment states
that is persistent to a ledger.|
-brk_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors occurred
when acknowledgment states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
-brk_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
-brk_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
+pulsar_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment
states that is persistent to a ledger.|
+pulsar_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
+pulsar_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
+pulsar_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
+pulsar_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
### LoadBalancing metrics
All the loadbalancing metrics are labeled with the following labels:
@@ -571,17 +571,17 @@ All the offload metrics are labeled with the following
labels:
- *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(byte per second). |
-| 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(byte per second). |
-| brk_ledgeroffloader_write_storage_error | Counter | The number of
failed operations to write to storage. |
-| brk_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
-| brk_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
-| brk_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
-| brk_ledgeroffloader_delete_offload_ops | Counter | The total number
of successful and failed operations to delete offload ledgers. |
+| Name | Type | Description
|
+|-------------------------------------|---------|---------------------------------------------------------------------------------|
+| pulsar_ledgeroffloader_offload_error | Counter | The number of failed
operations to offload. |
+| pulsar_ledgeroffloader_offload_rate | Gauge | The rate of offloading(byte
per second). |
+| pulsar_ledgeroffloader_read_offload_error | Counter | The number of failed
operations to read offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_rate | Gauge | The rate of reading
entries from offload ledgers(byte per second). |
+| pulsar_ledgeroffloader_write_storage_error | Counter | The number of failed
operations to write to storage. |
+| pulsar_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
+| pulsar_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
+| pulsar_ledgeroffloader_delete_offload_ops | Counter | The total number of
successful and failed operations to delete offload ledgers. |
### Web service executor metrics
diff --git a/versioned_docs/version-2.10.x/deploy-monitoring.md
b/versioned_docs/version-2.10.x/deploy-monitoring.md
index 5b8240f2a07..7e39a13c8a8 100644
--- a/versioned_docs/version-2.10.x/deploy-monitoring.md
+++ b/versioned_docs/version-2.10.x/deploy-monitoring.md
@@ -73,11 +73,11 @@ The acknowledgment state is persistent to the ledger first.
When the acknowledgm
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
@@ -135,4 +135,4 @@ The following are some Grafana dashboards examples:
-
[apache-pulsar-grafana-dashboard](https://github.com/streamnative/apache-pulsar-grafana-dashboard):
a collection of Grafana dashboard templates for different Pulsar components
running on both Kubernetes and on-premise machines.
## Alerting rules
-You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
\ No newline at end of file
+You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
diff --git a/versioned_docs/version-2.10.x/reference-metrics.md
b/versioned_docs/version-2.10.x/reference-metrics.md
index 753e597bc94..bb0be96db6b 100644
--- a/versioned_docs/version-2.10.x/reference-metrics.md
+++ b/versioned_docs/version-2.10.x/reference-metrics.md
@@ -261,14 +261,14 @@ All the cursor acknowledgment state metrics are labelled
with the following labe
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment states
that is persistent to a ledger.|
-brk_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors occurred
when acknowledgment states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
-brk_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
-brk_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
+pulsar_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment
states that is persistent to a ledger.|
+pulsar_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
+pulsar_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
+pulsar_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
+pulsar_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
### LoadBalancing metrics
All the loadbalancing metrics are labelled with the following labels:
diff --git a/versioned_docs/version-2.11.x/deploy-monitoring.md
b/versioned_docs/version-2.11.x/deploy-monitoring.md
index 241b735bbdd..36807d5f805 100644
--- a/versioned_docs/version-2.11.x/deploy-monitoring.md
+++ b/versioned_docs/version-2.11.x/deploy-monitoring.md
@@ -61,11 +61,11 @@ The default port for bookie is `8000`. You can change the
port by configuring `p
The acknowledgment state is persistent to the ledger first. When the
acknowledgment state fails to be persistent to the ledger, they are persistent
to ZooKeeper. To track the stats of acknowledgment, you can configure the
metrics for the managed cursor.
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
Those metrics are added in the Prometheus interface, you can monitor and check
the metrics stats in Grafana.
@@ -116,4 +116,4 @@ The following are some Grafana dashboards examples:
-
[apache-pulsar-grafana-dashboard](https://github.com/streamnative/apache-pulsar-grafana-dashboard):
a collection of Grafana dashboard templates for different Pulsar components
running on both Kubernetes and on-premise machines.
## Alerting rules
-You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
\ No newline at end of file
+You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
diff --git a/versioned_docs/version-2.11.x/reference-metrics.md
b/versioned_docs/version-2.11.x/reference-metrics.md
index 71e2bb3a198..076c578c9f7 100644
--- a/versioned_docs/version-2.11.x/reference-metrics.md
+++ b/versioned_docs/version-2.11.x/reference-metrics.md
@@ -311,14 +311,14 @@ All the cursor acknowledgment state metrics are labeled
with the following label
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment states
that is persistent to a ledger.|
-brk_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors occurred
when acknowledgment states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
-brk_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
-brk_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
+pulsar_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment
states that is persistent to a ledger.|
+pulsar_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
+pulsar_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
+pulsar_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
+pulsar_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
### LoadBalancing metrics
All the loadbalancing metrics are labeled with the following labels:
@@ -542,17 +542,17 @@ All the offload metrics are labeled with the following
labels:
- *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(byte per second). |
-| 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(byte per second). |
-| brk_ledgeroffloader_write_storage_error | Counter | The number of
failed operations to write to storage. |
-| brk_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
-| brk_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
-| brk_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
-| brk_ledgeroffloader_delete_offload_ops | Counter | The total number
of successful and failed operations to delete offload ledgers. |
+| Name | Type | Description
|
+|-------------------------------------|---------|---------------------------------------------------------------------------------|
+| pulsar_ledgeroffloader_offload_error | Counter | The number of failed
operations to offload. |
+| pulsar_ledgeroffloader_offload_rate | Gauge | The rate of offloading(byte
per second). |
+| pulsar_ledgeroffloader_read_offload_error | Counter | The number of failed
operations to read offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_rate | Gauge | The rate of reading
entries from offload ledgers(byte per second). |
+| pulsar_ledgeroffloader_write_storage_error | Counter | The number of failed
operations to write to storage. |
+| pulsar_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
+| pulsar_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
+| pulsar_ledgeroffloader_delete_offload_ops | Counter | The total number of
successful and failed operations to delete offload ledgers. |
### Web service executor metrics
diff --git a/versioned_docs/version-2.8.x/deploy-monitoring.md
b/versioned_docs/version-2.8.x/deploy-monitoring.md
index 464987c0d19..3e3625ea84e 100644
--- a/versioned_docs/version-2.8.x/deploy-monitoring.md
+++ b/versioned_docs/version-2.8.x/deploy-monitoring.md
@@ -73,11 +73,11 @@ The acknowledgment state is persistent to the ledger first.
When the acknowledgm
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
diff --git a/versioned_docs/version-2.8.x/reference-metrics.md
b/versioned_docs/version-2.8.x/reference-metrics.md
index b96c279b90a..5be54951e91 100644
--- a/versioned_docs/version-2.8.x/reference-metrics.md
+++ b/versioned_docs/version-2.8.x/reference-metrics.md
@@ -227,14 +227,14 @@ All the cursor acknowledgment state metrics are labelled
with the following labe
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")|Gauge|The number of acknowledgment states that is persistent to
a ledger.|
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of acknowledgment states that is persistent to
ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger. **Note:** This metric is
only available in 2.8.1 and later versions.
-brk_ml_cursor_writeLedgerLogicalSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger (accounting for without
replicas). **Note:** This metric is only available in 2.8.1 and later versions.
-brk_ml_cursor_readLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of read from ledger. **Note:** This metric is
only available in 2.8.1 and later versions.
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")|Gauge|The number of acknowledgment states that is persistent to
a ledger.|
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of acknowledgment states that is persistent to
ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")|Gauge|The number of non-contiguous deleted
messages ranges.
+pulsar_ml_cursor_writeLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger. **Note:** This metric is
only available in 2.8.1 and later versions.
+pulsar_ml_cursor_writeLedgerLogicalSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger (accounting for without
replicas). **Note:** This metric is only available in 2.8.1 and later versions.
+pulsar_ml_cursor_readLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of read from ledger. **Note:** This metric is
only available in 2.8.1 and later versions.
### LoadBalancing metrics
All the loadbalancing metrics are labelled with the following labels:
diff --git a/versioned_docs/version-2.9.x/deploy-monitoring.md
b/versioned_docs/version-2.9.x/deploy-monitoring.md
index adce64dfa38..91dbb52beb1 100644
--- a/versioned_docs/version-2.9.x/deploy-monitoring.md
+++ b/versioned_docs/version-2.9.x/deploy-monitoring.md
@@ -73,11 +73,11 @@ The acknowledgment state is persistent to the ledger first.
When the acknowledgm
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
@@ -145,4 +145,4 @@ The following are some Grafana dashboards examples:
-
[apache-pulsar-grafana-dashboard](https://github.com/streamnative/apache-pulsar-grafana-dashboard):
a collection of Grafana dashboard templates for different Pulsar components
running on both Kubernetes and on-premise machines.
## Alerting rules
- You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
\ No newline at end of file
+ You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
diff --git a/versioned_docs/version-2.9.x/reference-metrics.md
b/versioned_docs/version-2.9.x/reference-metrics.md
index c0db434bbaa..82cc6bb2f61 100644
--- a/versioned_docs/version-2.9.x/reference-metrics.md
+++ b/versioned_docs/version-2.9.x/reference-metrics.md
@@ -178,8 +178,8 @@ All the replication metrics are also labelled with
`remoteCluster=${pulsar_remot
| pulsar_replication_throughput_in | Gauge | The total throughput of the
namespace replicating from remote cluster (bytes/second). |
| pulsar_replication_throughput_out | Gauge | The total throughput of the
namespace replicating to remote cluster (bytes/second). |
| pulsar_replication_backlog | Gauge | The total backlog of the namespace
replicating to remote cluster (messages). |
-| pulsar_replication_rate_expired | Gauge | Total rate of messages expired
(messages/second). |
-| pulsar_replication_connected_count | Gauge | The count of
replication-subscriber up and running to replicate to remote cluster. |
+| pulsar_replication_rate_expired | Gauge | Total rate of messages expired
(messages/second). |
+| pulsar_replication_connected_count | Gauge | The count of
replication-subscriber up and running to replicate to remote cluster. |
| pulsar_replication_delay_in_seconds | Gauge | Time in seconds from the time
a message was produced to the time when it is about to be replicated. |
### ManagedLedgerCache metrics
@@ -248,14 +248,14 @@ All the cursor acknowledgment state metrics are labelled
with the following labe
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")|Gauge|The number of acknowledgment states that is persistent to
a ledger.|
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of acknowledgment states that is persistent to
ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger.
-brk_ml_cursor_writeLedgerLogicalSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger (accounting for without
replicas).
-brk_ml_cursor_readLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of read from ledger.
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")|Gauge|The number of acknowledgment states that is persistent to
a ledger.|
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of acknowledgment states that is persistent to
ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")|Gauge|The number of ledger errors occurred when acknowledgment
states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")|Gauge|The number of non-contiguous deleted
messages ranges.
+pulsar_ml_cursor_writeLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger.
+pulsar_ml_cursor_writeLedgerLogicalSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of write to ledger (accounting for without
replicas).
+pulsar_ml_cursor_readLedgerSize(namespace="", ledger_name="",
cursor_name:"")|Gauge|The size of read from ledger.
### LoadBalancing metrics
All the loadbalancing metrics are labelled with the following labels:
diff --git a/versioned_docs/version-3.0.x/deploy-monitoring.md
b/versioned_docs/version-3.0.x/deploy-monitoring.md
index 3f038d0abfd..72696c7b256 100644
--- a/versioned_docs/version-3.0.x/deploy-monitoring.md
+++ b/versioned_docs/version-3.0.x/deploy-monitoring.md
@@ -61,11 +61,11 @@ The default port for bookie is `8000`. You can change the
port by configuring `p
The acknowledgment state is persistent to the ledger first. When the
acknowledgment state fails to be persistent to the ledger, they are persistent
to ZooKeeper. To track the stats of acknowledgment, you can configure the
metrics for the managed cursor.
```
-brk_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="", cursor_name:")
-brk_ml_cursor_persistLedgerErrors(namespace="", ledger_name="", cursor_name:"")
-brk_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
-brk_ml_cursor_nonContiguousDeletedMessagesRange(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistLedgerSucceed(namespace=", ledger_name="",
cursor_name:")
+pulsar_ml_cursor_persistLedgerErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperSucceed(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_persistZookeeperErrors(namespace="", ledger_name="",
cursor_name:"")
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange(namespace="",
ledger_name="", cursor_name:"")
```
Those metrics are added in the Prometheus interface, you can monitor and check
the metrics stats in Grafana.
@@ -116,4 +116,4 @@ The following are some Grafana dashboards examples:
-
[apache-pulsar-grafana-dashboard](https://github.com/streamnative/apache-pulsar-grafana-dashboard):
a collection of Grafana dashboard templates for different Pulsar components
running on both Kubernetes and on-premise machines.
## Alerting rules
-You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
\ No newline at end of file
+You can set alerting rules according to your Pulsar environment. To configure
alerting rules for Apache Pulsar, refer to [alerting
rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/).
diff --git a/versioned_docs/version-3.0.x/reference-metrics.md
b/versioned_docs/version-3.0.x/reference-metrics.md
index 0fdd0a577a7..fc432171bc0 100644
--- a/versioned_docs/version-3.0.x/reference-metrics.md
+++ b/versioned_docs/version-3.0.x/reference-metrics.md
@@ -334,14 +334,14 @@ All the cursor acknowledgment state metrics are labeled
with the following label
Name |Type |Description
|---|---|---
-brk_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment states
that is persistent to a ledger.|
-brk_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors occurred
when acknowledgment states fail to be persistent to the ledger.|
-brk_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
-brk_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
-brk_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
-brk_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
-brk_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
-brk_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
+pulsar_ml_cursor_persistLedgerSucceed|Gauge|The number of acknowledgment
states that is persistent to a ledger.|
+pulsar_ml_cursor_persistLedgerErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to the ledger.|
+pulsar_ml_cursor_persistZookeeperSucceed|Gauge|The number of acknowledgment
states that is persistent to ZooKeeper.
+pulsar_ml_cursor_persistZookeeperErrors|Gauge|The number of ledger errors
occurred when acknowledgment states fail to be persistent to ZooKeeper.
+pulsar_ml_cursor_nonContiguousDeletedMessagesRange|Gauge|The number of
non-contiguous deleted messages ranges.
+pulsar_ml_cursor_writeLedgerSize|Gauge|The size of write to ledger.
+pulsar_ml_cursor_writeLedgerLogicalSize|Gauge|The size of write to ledger
(accounting for without replicas).
+pulsar_ml_cursor_readLedgerSize|Gauge|The size of read from ledger.
### LoadBalancing metrics
All the loadbalancing metrics are labeled with the following labels:
@@ -571,17 +571,17 @@ All the offload metrics are labeled with the following
labels:
- *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(byte per second). |
-| 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(byte per second). |
-| brk_ledgeroffloader_write_storage_error | Counter | The number of
failed operations to write to storage. |
-| brk_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
-| brk_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
-| brk_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
-| brk_ledgeroffloader_delete_offload_ops | Counter | The total number
of successful and failed operations to delete offload ledgers. |
+| Name | Type | Description
|
+|-------------------------------------|---------|---------------------------------------------------------------------------------|
+| pulsar_ledgeroffloader_offload_error | Counter | The number of failed
operations to offload. |
+| pulsar_ledgeroffloader_offload_rate | Gauge | The rate of offloading(byte
per second). |
+| pulsar_ledgeroffloader_read_offload_error | Counter | The number of failed
operations to read offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_rate | Gauge | The rate of reading
entries from offload ledgers(byte per second). |
+| pulsar_ledgeroffloader_write_storage_error | Counter | The number of failed
operations to write to storage. |
+| pulsar_ledgeroffloader_read_offload_index_latency | Summary | The latency of
reading index from offload ledgers. |
+| pulsar_ledgeroffloader_read_offload_data_latency | Summary | The latency of
reading data from offload ledgers. |
+| pulsar_ledgeroffloader_read_ledger_latency | Summary | The latency of
reading entries from BookKeeper. |
+| pulsar_ledgeroffloader_delete_offload_ops | Counter | The total number of
successful and failed operations to delete offload ledgers. |
### Web service executor metrics