Anonymitaet commented on a change in pull request #9876:
URL: https://github.com/apache/pulsar/pull/9876#discussion_r594048297
##########
File path: site2/docs/reference-metrics.md
##########
@@ -366,6 +367,22 @@ All the authentication metrics are labelled with the
following labels:
| pulsar_authentication_success_count| Counter | The number of successful
authentication operations. |
| pulsar_authentication_failures_count | Counter | The number of failing
authentication operations. |
+### Connection metrics
+
+All the connection metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster
name that you have configured in the `broker.conf` file.
+- *broker*: `broker=${advertised_address}`. `${advertised_address}` is the
advertised address of the broker.
+- *metric*: `metric=${metric}`. `${metric}` is the connection metric
collective name.
+
+| Name | Type | Description |
+|---|---|---|
+| pulsar_active_connections| Gauge | The number of active connections. |
+| pulsar_connection_created_total_count | Gauge | The total number of create
connections. |
Review comment:
```suggestion
| pulsar_connection_created_total_count | Gauge | The total number of
connections. |
```
##########
File path: site2/docs/reference-metrics.md
##########
@@ -366,6 +367,22 @@ All the authentication metrics are labelled with the
following labels:
| pulsar_authentication_success_count| Counter | The number of successful
authentication operations. |
| pulsar_authentication_failures_count | Counter | The number of failing
authentication operations. |
+### Connection metrics
+
+All the connection metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster
name that you have configured in the `broker.conf` file.
+- *broker*: `broker=${advertised_address}`. `${advertised_address}` is the
advertised address of the broker.
+- *metric*: `metric=${metric}`. `${metric}` is the connection metric
collective name.
+
+| Name | Type | Description |
+|---|---|---|
+| pulsar_active_connections| Gauge | The number of active connections. |
+| pulsar_connection_created_total_count | Gauge | The total number of create
connections. |
+| pulsar_connection_create_success_count | Gauge | The number of successfully
created connections. |
+| pulsar_connection_create_fail_count | Gauge | The number of failed
connections created. |
Review comment:
```suggestion
| pulsar_connection_create_fail_count | Gauge | The number of failed
connections. |
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]