This is an automated email from the ASF dual-hosted git repository.
heesung 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 3af559641e9d [feat][doc] PIP-264: Add broker connection metrics (#921)
3af559641e9d is described below
commit 3af559641e9d21a74b2cc04b03edc20969973eb4
Author: Dragos Misca <[email protected]>
AuthorDate: Wed Jun 26 16:42:07 2024 -0700
[feat][doc] PIP-264: Add broker connection metrics (#921)
* Add broker connection metrics
* Update attribute value
---
docs/reference-metrics-opentelemetry.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/docs/reference-metrics-opentelemetry.md
b/docs/reference-metrics-opentelemetry.md
index 33a49b895a17..d767d98cd90d 100644
--- a/docs/reference-metrics-opentelemetry.md
+++ b/docs/reference-metrics-opentelemetry.md
@@ -8,6 +8,27 @@ Pulsar exposes the following OpenTelemetry metrics.
## Broker
+### Connection Metrics
+
+#### pulsar.broker.connection.count
+The number of connections.
+* Type: UpDownCounter
+* Unit: `{connection}`
+* Attributes:
+ * `pulsar.connection.status` - The status of the connection. Can be one of:
+ * `active`
+ * `open`
+ * `close`
+
+#### pulsar.broker.connection.create.operation.count
+The number of connection create operations.
+* Type: UpDownCounter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.connection.create.operation.status` - The status of the create
operation. Can be one of:
+ * `success`
+ * `failure`
+
### Topic Messaging metrics
#### pulsar.broker.topic.subscription.count