Skip to content

Commit 5d3bfbf

Browse files
Implement feedback.
1 parent 9d9ab09 commit 5d3bfbf

File tree

3 files changed

+41
-28
lines changed

3 files changed

+41
-28
lines changed
-14.1 KB
Loading

articles/service-bus-messaging/monitor-service-bus-reference.md

Lines changed: 39 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitoring data reference for Azure Service Bus
33
description: This article contains important reference material you need when you monitor Azure Service Bus by using Azure Monitor.
4-
ms.date: 07/17/2024
4+
ms.date: 07/22/2024
55
ms.custom: horz-monitor
66
ms.topic: reference
77
author: spelluru
@@ -29,13 +29,15 @@ The following sections provide more detailed descriptions for metrics presented
2929

3030
*Request metrics* count the number of data and management operations requests.
3131

32-
- **Incoming Requests** The number of requests made to the Service Bus service over a specified period.
33-
- **Successful Requests** The number of successful requests made to the Service Bus service over a specified period.
34-
- [Server Errors](service-bus-messaging-exceptions.md#exception-categories) The number of requests not processed because of an error in the Service Bus service over a specified period.
35-
- [User Errors](service-bus-messaging-exceptions.md#exception-categories) The number of requests not processed because of user errors over a specified period.
36-
- **Throttled Requests** The number of requests that were throttled because the usage was exceeded.</p><p>MessagingErrorSubCode dimension has the following possible values: <br/><ul><li><b>CPU:</b> CPU throttling</li><li><b>Storage:</b>It indicates throttle because of pending checkpoint operations</li><li><b>Namespace:</b>Namespace operations throttling.</li><li><b>Unknown:</b> Other resource throttling.</li></p>
37-
- **Pending Checkpoint Operations Count** The number of pending checkpoint operations on the namespace. Service starts to throttle when the pending checkpoint count exceeds limit of (500,000 + (500,000 * messaging units)) operations. This metric applies only to namespaces using the **premium** tier.
38-
- **Server Send Latency** The time taken by the Service Bus service to complete the request.
32+
| Metric | Description |
33+
|:-------|:------------|
34+
| Incoming Requests | The number of requests made to the Service Bus service over a specified period. |
35+
| Successful Requests | The number of successful requests made to the Service Bus service over a specified period. |
36+
| [Server Errors](service-bus-messaging-exceptions.md#exception-categories) | The number of requests not processed because of an error in the Service Bus service over a specified period. |
37+
| [User Errors](service-bus-messaging-exceptions.md#exception-categories) | The number of requests not processed because of user errors over a specified period. |
38+
| Throttled Requests | The number of requests that were throttled because the usage was exceeded.</p><p>MessagingErrorSubCode dimension has the following possible values: <br/><ul><li><b>CPU:</b> CPU throttling</li><li><b>Storage:</b>It indicates throttle because of pending checkpoint operations</li><li><b>Namespace:</b>Namespace operations throttling.</li><li><b>Unknown:</b> Other resource throttling.</li></p> |
39+
| Pending Checkpoint Operations Count | The number of pending checkpoint operations on the namespace. Service starts to throttle when the pending checkpoint count exceeds limit of (500,000 + (500,000 * messaging units)) operations. This metric applies only to namespaces using the **premium** tier. |
40+
| Server Send Latency | The time taken by the Service Bus service to complete the request. |
3941

4042
The following two types of errors are classified as *user errors*:
4143

@@ -46,15 +48,17 @@ The following two types of errors are classified as *user errors*:
4648

4749
The following metrics are *message metrics*.
4850

49-
- **Incoming Messages** The number of events or messages sent to Service Bus over a specified period. For basic and standard tiers, incoming autoforwarded messages are included in this metric. And, for the premium tier, they aren't included.
50-
- **Outgoing Messages** The number of events or messages received from Service Bus over a specified period. The outgoing autoforwarded messages aren't included in this metric.
51-
- **Messages** Count of messages in a queue/topic. This metric includes messages in all the different states like active, dead-lettered, scheduled, etc.
52-
- **Active Messages** Count of active messages in a queue/topic. Active messages are the messages in the queue or subscription that are in the active state and ready for delivery. The messages are available to be received.
53-
- **Dead-lettered messages** Count of dead-lettered messages in a queue/topic.
54-
- **Scheduled messages** Count of scheduled messages in a queue/topic.
55-
- **Completed Messages** The number of messages completed over a specified period.
56-
- **Abandoned Messages** The number of messages abandoned over a specified period.
57-
- **Size** Size of an entity (queue or topic) in bytes.
51+
| Metric | Description |
52+
|:-------|:------------|
53+
| Incoming Messages | The number of events or messages sent to Service Bus over a specified period. For basic and standard tiers, incoming autoforwarded messages are included in this metric. And, for the premium tier, they aren't included. |
54+
| Outgoing Messages | The number of events or messages received from Service Bus over a specified period. The outgoing autoforwarded messages aren't included in this metric. |
55+
| Messages | Count of messages in a queue/topic. This metric includes messages in all the different states like active, dead-lettered, scheduled, etc. |
56+
| Active Messages | Count of active messages in a queue/topic. Active messages are the messages in the queue or subscription that are in the active state and ready for delivery. The messages are available to be received. |
57+
| Dead-lettered messages | Count of dead-lettered messages in a queue/topic. |
58+
| Scheduled messages | Count of scheduled messages in a queue/topic. |
59+
| Completed Messages | The number of messages completed over a specified period. |
60+
| Abandoned Messages | The number of messages abandoned over a specified period. |
61+
| Size | Size of an entity (queue or topic) in bytes. |
5862

5963
> [!IMPORTANT]
6064
> Values for messages, active, dead-lettered, scheduled, completed, and abandoned messages are point-in-time values. Incoming messages that were consumed immediately after that point-in-time might not be reflected in these metrics.
@@ -63,18 +67,23 @@ The following metrics are *message metrics*.
6367
> When a client tries to get the info about a queue or topic, the Service Bus service returns some static information such as name, last updated time, created time, and requires session or not. Some dynamic information like message counts. If the request gets throttled, the service returns the static information and empty dynamic information. That's why message counts are shown as 0 when the namespace is being throttled. This behavior is by design.
6468
6569
### Connection metrics
70+
6671
The following metrics are *connection metrics*.
6772

68-
- **Active Connections** The number of active connections on a namespace and on an entity in the namespace. Value for this metric is a point-in-time value. Connections that were active immediately after that point-in-time may not be reflected in the metric.
69-
- **Connections Opened** The number of connections opened. Value for this metric is an aggregation, and includes all connections that were opened in the aggregation time window.
70-
- **Connections Closed** The number of connections closed. Value for this metric is an aggregation, and includes all connections that were opened in the aggregation time window.
73+
| Metric | Description |
74+
|:-------|:------------|
75+
| Active Connections | The number of active connections on a namespace and on an entity in the namespace. Value for this metric is a point-in-time value. Connections that were active immediately after that point-in-time may not be reflected in the metric. |
76+
| Connections Opened | The number of connections opened. Value for this metric is an aggregation, and includes all connections that were opened in the aggregation time window. |
77+
| Connections Closed | The number of connections closed. Value for this metric is an aggregation, and includes all connections that were opened in the aggregation time window. |
7178

7279
### Resource usage metrics
7380

7481
The following *resource metrics* are available only with the **premium** tier.
7582

76-
- **CPU usage per namespace** The percentage CPU usage of the namespace.
77-
- **Memory size usage per namespace** The percentage memory usage of the namespace.
83+
| Metric | Description |
84+
|:-------|:------------|
85+
| CPU usage per namespace | The percentage CPU usage of the namespace. |
86+
| Memory size usage per namespace | The percentage memory usage of the namespace. |
7887

7988
The important metrics to monitor for any outages for a premium tier namespace are: **CPU usage per namespace** and **memory size per namespace**. [Set up alerts](../azure-monitor/alerts/alerts-metric.md) for these metrics using Azure Monitor.
8089

@@ -84,15 +93,19 @@ The other metric you could monitor is: **throttled requests**. It shouldn't be a
8493

8594
The following metrics are *error metrics*.
8695

87-
- **Server Errors** The number of requests not processed because of an error in the Service Bus service over a specified period.
88-
- **User Errors** The number of requests not processed because of user errors over a specified period.
96+
| Metric | Description |
97+
|:-------|:------------|
98+
| Server Errors | The number of requests not processed because of an error in the Service Bus service over a specified period. |
99+
| User Errors | The number of requests not processed because of user errors over a specified period. |
89100

90101
### Geo-Replication metrics
91102

92103
The following metrics are *geo-replication* metrics:
93104

94-
- **Replication Lag Duration** The offset in seconds between the latest action on the primary and the secondary regions.
95-
- **Replication Lag Count** The offset in number of operations between the latest action on the primary and the secondary regions.
105+
| Metric | Description |
106+
|:-------|:------------|
107+
| Replication Lag Duration | The offset in seconds between the latest action on the primary and the secondary regions. |
108+
| Replication Lag Count | The offset in number of operations between the latest action on the primary and the secondary regions. |
96109

97110
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
98111

articles/service-bus-messaging/monitor-service-bus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitor Azure Service Bus
33
description: Start here to learn how to monitor Azure Service Bus by using Azure Monitor metrics, logs, and tools.
4-
ms.date: 07/17/2024
4+
ms.date: 07/22/2024
55
ms.custom: horz-monitor
66
ms.topic: conceptual
77
author: spelluru
@@ -39,7 +39,7 @@ The diagnostic logging information is stored in tables named **AzureDiagnostics*
3939

4040
For a list of available metrics for Service Bus, see [Azure Service Bus monitoring data reference](monitor-service-bus-reference.md#metrics).
4141

42-
You can analyze metrics for Azure Service Bus, along with metrics from other Azure services, by selecting **Metrics** from the **Azure Monitor** section on the home page for your Service Bus namespace. See [Analyze metrics with Azure Monitor metrics explorer](../azure-monitor/essentials/analyze-metrics.md) for details on using this tool. For a list of the platform metrics collected, see [Monitoring Azure Service Bus data reference metrics](monitor-service-bus-reference.md#metrics).
42+
You can analyze metrics for Azure Service Bus, along with metrics from other Azure services, by selecting **Metrics** from the **Monitoring** section on the home page for your Service Bus namespace. See [Analyze metrics with Azure Monitor metrics explorer](../azure-monitor/essentials/analyze-metrics.md) for details on using this tool. For a list of the platform metrics collected, see [Monitoring Azure Service Bus data reference metrics](monitor-service-bus-reference.md#metrics).
4343

4444
:::image type="content" source="./media/monitor-service-bus/metrics.png" alt-text="Screenshot shows Metrics Explorer with Service Bus namespace selected.":::
4545

0 commit comments

Comments
 (0)