Skip to content

Commit 85d856f

Browse files
committed
More Acrolinx fixes
1 parent 34b63ae commit 85d856f

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

articles/iot-operations/reference/observability-metrics-mqtt-broker.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ Sessions without a `metriccategory` are tagged as "category=uncategorized".
3030

3131
## Messaging metrics
3232

33-
All metrics include the `hostname` tag to distinguish the pod that generated the metrics. The tags listed in the individual metric descriptions are additional to this tag.
34-
35-
## Messaging metrics
36-
37-
All metrics include the `hostname` tag to distinguish the pod that generated the metrics. The tags listed in the individual metric descriptions are additional to this tag.
33+
All metrics include the `hostname` tag to identify the pod that generated the metrics. The tags listed in the individual metric descriptions are added to this tag.
3834

3935
| Metric | Description | Tags |
4036
|--------|-------------|------|
@@ -75,12 +71,12 @@ These metrics provide observability for the connections and subscriptions on the
7571

7672
| Metric | Description | Tags |
7773
|--------|-------------|------|
78-
| `aio_broker_total_sessions` | On the frontend and single node broker, this metric represents how many client sessions there are. This doesn't include disconnected persistent sessions, because a client might reconnect to a different frontend node. For the backend, this metric represents its connections to the other nodes in its chain. On the operator, this metric represents how many front and backend nodes are connected. For the authentication server, this metric represents how many frontend workers are connected (1 per frontend per thread). | `mqtt_version`: [v3/v5] <br> Backend Node Only Tags: <br> `is_tail`: [true/false] <br> `chain_id`: [n] |
74+
| `aio_broker_total_sessions` | On the frontend and single node broker, this metric represents how many client sessions there are. This count doesn't include disconnected persistent sessions, because a client might reconnect to a different frontend node. For the backend, this metric represents its connections to the other nodes in its chain. On the operator, this metric represents how many front and backend nodes are connected. For the authentication server, this metric represents how many frontend workers are connected (1 per frontend per thread). | `mqtt_version`: [v3/v5] <br> Backend Node Only Tags: <br> `is_tail`: [true/false] <br> `chain_id`: [n] |
7975
| `aio_broker_store_total_sessions` | This metric represents how many sessions are in backend chain. Backend nodes in the same chain should report the same number of sessions, and the sum of each chain should equal the sum of the frontend's total_sessions. | `is_persistent`: [true/false] <br> `is_tail`: [true/false] <br> `chain_id`: [n] |
8076
| `aio_broker_connected_sessions` | Same as `aio_broker_total_sessions`, except only sessions that have an active connection. | |
81-
| `aio_broker_store_connected_sessions` | Same as `aio_broker_store_total_sessions`, except only sessions that have an active connection. If is_persistent is false, this should be equal to total sessions. | |
82-
| `aio_broker_total_subscriptions` | On the frontend, this metric represents how many subscriptions the currently connected sessions have. This doesn't include disconnected persistent sessions, because a client might reconnect to a different frontend node. On the operator, this metric represents the frontend and backend nodes. For the authentication server, this metric represents how many frontend workers are connected (1 per frontend per thread). | |
83-
| `aio_broker_store_total_subscriptions` | This metric represents how many subscriptions are in backend chain. Backend nodes in the same chain should report the same number of subscriptions. This will not necessarily match the frontend's total_subscriptions, since this metric tracks disconnected persistent sessions as well. | |
77+
| `aio_broker_store_connected_sessions` | Same as `aio_broker_store_total_sessions`, except only sessions that have an active connection. If `is_persistent` is false, this count should be equal to total sessions. | |
78+
| `aio_broker_total_subscriptions` | On the frontend, this metric represents how many subscriptions the currently connected sessions have. This count doesn't include disconnected persistent sessions, because a client might reconnect to a different frontend node. On the operator, this metric represents the frontend and backend nodes. For the authentication server, this metric represents how many frontend workers are connected (1 per frontend per thread). | |
79+
| `aio_broker_store_total_subscriptions` | This metric represents how many subscriptions are in backend chain. Backend nodes in the same chain should report the same number of subscriptions. This count doesn't necessarily match the frontend's `total_subscriptions`, since this metric tracks disconnected persistent sessions as well. | |
8480

8581
## State store metrics
8682

@@ -92,7 +88,7 @@ This set of metrics tracks the overall state of the [state store](../create-edge
9288
| `aio_broker_state_store_insertions` | This metric counts the number of new key insert requests received, including both successful insertions and errors. | |
9389
| `aio_broker_state_store_keynotify_requests` | This metric counts the number of requests to monitor key changes (KEYNOTIFY) received, including both successful modifications and errors. | |
9490
| `aio_broker_state_store_modifications` | This metric counts the number of modify key requests received, including both successful modifications and errors. | |
95-
| `aio_broker_state_store_notifications_sent` | This metric counts the number of notification messages sent by the state store in response to key value changes when a client is registered via KEYNOTIFY. | |
91+
| `aio_broker_state_store_notifications_sent` | This metric counts the number of notification messages the state store sends when a key value changes and a client is registered via KEYNOTIFY. | |
9692
| `aio_broker_state_store_retrievals` | This metric counts the number of key value retrieval requests received, including both successful retrievals and errors. | |
9793

9894
## Disk-backed message buffer metrics
@@ -118,12 +114,12 @@ These metrics provide observability for the [disk-backed message buffer](../mana
118114
| `aio_broker_store_transfer_ack_event_receiver_message_count` | This metric reports the number of ack event messages received by the store transfer receiver. This count should be equal to the number of ack event messages sent by the store transfer sender. |
119115
| `aio_broker_store_transfer_ack_event_sender_message_count` | This metric reports the number of ack event messages sent by the store transfer sender. |
120116
| `aio_broker_store_transfer_ack_event_sender_transfer_bytes` | This metric reports the number of bytes sent by the store transfer sender for ack events. |
121-
| `aio_broker_store_transfer_patch_tracker_receiver_message_count` | This metric reports the number of patch tracker messages received by the store transfer receiver. This should be equal to the number of patch tracker messages sent by the store transfer sender. |
117+
| `aio_broker_store_transfer_patch_tracker_receiver_message_count` | This metric reports the number of patch tracker messages received by the store transfer receiver. This count should be equal to the number of patch tracker messages sent by the store transfer sender. |
122118
| `aio_broker_store_transfer_patch_tracker_sender_message_count` | This metric reports the number of patch tracker messages sent by the store transfer sender. |
123119

124120
## Developer metrics
125121

126-
These are metrics that are useful for debugging purposes for developers.
122+
These metrics are useful for developer debugging.
127123

128124
| Metric | Description |
129125
|--------|-------------|

0 commit comments

Comments
 (0)