This is an automated email from the ASF dual-hosted git repository.
lhotari 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 fc7243edc826 [feat][doc] PIP-264: Add OpenTelemetry managed cursor
metrics reference (#929)
fc7243edc826 is described below
commit fc7243edc826431d3276f071bc077d64d9ee0176
Author: Dragos Misca <[email protected]>
AuthorDate: Tue Oct 29 04:27:50 2024 -0700
[feat][doc] PIP-264: Add OpenTelemetry managed cursor metrics reference
(#929)
* [feat][doc] PIP-264: Add OpenTelemetry managed cursor metrics reference
* Apply changes to 4.0.x
---------
Co-authored-by: Lari Hotari <[email protected]>
---
docs/reference-metrics-opentelemetry.md | 63 +++++++++++++++++++++-
.../reference-metrics-opentelemetry.md | 63 +++++++++++++++++++++-
2 files changed, 124 insertions(+), 2 deletions(-)
diff --git a/docs/reference-metrics-opentelemetry.md
b/docs/reference-metrics-opentelemetry.md
index 3594dc57ce61..4af8bf83b291 100644
--- a/docs/reference-metrics-opentelemetry.md
+++ b/docs/reference-metrics-opentelemetry.md
@@ -565,6 +565,68 @@ The number of permits currently available for this
consumer.
* `pulsar.consumer.name` - The name of the consumer.
* `pulsar.consumer.id` - The ID of the consumer.
+### Managed Ledger Cursor metrics
+
+#### pulsar.broker.managed_ledger.persist.operation.count
+The number of acknowledgment operations on the ledger.
+* Type: Counter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+ * `pulsar.managed_ledger.cursor.operation.status` - The status of the
managed cursor operation. Can be one of:
+ * `success`
+ * `failure`
+
+#### pulsar.broker.managed_ledger.persist.mds.operation.count
+The number of acknowledgment operations in the metadata store.
+* Type: Counter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+ * `pulsar.managed_ledger.cursor.operation.status` - The status of the
managed cursor operation. Can be one of:
+ * `success`
+ * `failure`
+
+#### pulsar.broker.managed_ledger.message_range.count
+The number of non-contiguous deleted messages ranges.
+* Type: UpDownCounter
+* Unit: `{range}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.outgoing.size
+The total amount of data written to the ledger.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.outgoing.logical.size
+The total amount of data written to the ledger, not including replicas.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.incoming.size
+The total amount of data read from the ledger.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
### Managed Ledger Cache metrics
#### pulsar.broker.managed_ledger.count
@@ -993,4 +1055,3 @@ The number of transactions handled by the persistent ack
store.
* `pulsar.transaction.pending.ack.store.operation.status` - The status of
the pending acknowledgment store operation. Can be one of:
* `failure`
* `success`
-
diff --git a/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
b/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
index 3594dc57ce61..4af8bf83b291 100644
--- a/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
+++ b/versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
@@ -565,6 +565,68 @@ The number of permits currently available for this
consumer.
* `pulsar.consumer.name` - The name of the consumer.
* `pulsar.consumer.id` - The ID of the consumer.
+### Managed Ledger Cursor metrics
+
+#### pulsar.broker.managed_ledger.persist.operation.count
+The number of acknowledgment operations on the ledger.
+* Type: Counter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+ * `pulsar.managed_ledger.cursor.operation.status` - The status of the
managed cursor operation. Can be one of:
+ * `success`
+ * `failure`
+
+#### pulsar.broker.managed_ledger.persist.mds.operation.count
+The number of acknowledgment operations in the metadata store.
+* Type: Counter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+ * `pulsar.managed_ledger.cursor.operation.status` - The status of the
managed cursor operation. Can be one of:
+ * `success`
+ * `failure`
+
+#### pulsar.broker.managed_ledger.message_range.count
+The number of non-contiguous deleted messages ranges.
+* Type: UpDownCounter
+* Unit: `{range}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.outgoing.size
+The total amount of data written to the ledger.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.outgoing.logical.size
+The total amount of data written to the ledger, not including replicas.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
+#### pulsar.broker.managed_ledger.cursor.incoming.size
+The total amount of data read from the ledger.
+* Type: Counter
+* Unit: `{By}`
+* Attributes:
+ * `pulsar.namespace` - The topic namespace.
+ * `pulsar.managed_ledger.name` - The name of the managed ledger.
+ * `pulsar.managed_ledger.cursor.name` - The name of the managed cursor.
+
### Managed Ledger Cache metrics
#### pulsar.broker.managed_ledger.count
@@ -993,4 +1055,3 @@ The number of transactions handled by the persistent ack
store.
* `pulsar.transaction.pending.ack.store.operation.status` - The status of
the pending acknowledgment store operation. Can be one of:
* `failure`
* `success`
-