You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/monitor-service-bus-reference.md
+39-26Lines changed: 39 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Monitoring data reference for Azure Service Bus
3
3
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
5
5
ms.custom: horz-monitor
6
6
ms.topic: reference
7
7
author: spelluru
@@ -29,13 +29,15 @@ The following sections provide more detailed descriptions for metrics presented
29
29
30
30
*Request metrics* count the number of data and management operations requests.
31
31
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. |
39
41
40
42
The following two types of errors are classified as *user errors*:
41
43
@@ -46,15 +48,17 @@ The following two types of errors are classified as *user errors*:
46
48
47
49
The following metrics are *message metrics*.
48
50
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. |
58
62
59
63
> [!IMPORTANT]
60
64
> 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*.
63
67
> 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.
64
68
65
69
### Connection metrics
70
+
66
71
The following metrics are *connection metrics*.
67
72
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. |
71
78
72
79
### Resource usage metrics
73
80
74
81
The following *resource metrics* are available only with the **premium** tier.
75
82
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. |
78
87
79
88
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.
80
89
@@ -84,15 +93,19 @@ The other metric you could monitor is: **throttled requests**. It shouldn't be a
84
93
85
94
The following metrics are *error metrics*.
86
95
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. |
89
100
90
101
### Geo-Replication metrics
91
102
92
103
The following metrics are *geo-replication* metrics:
93
104
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. |
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/monitor-service-bus.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Monitor Azure Service Bus
3
3
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
5
5
ms.custom: horz-monitor
6
6
ms.topic: conceptual
7
7
author: spelluru
@@ -39,7 +39,7 @@ The diagnostic logging information is stored in tables named **AzureDiagnostics*
39
39
40
40
For a list of available metrics for Service Bus, see [Azure Service Bus monitoring data reference](monitor-service-bus-reference.md#metrics).
41
41
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).
43
43
44
44
:::image type="content" source="./media/monitor-service-bus/metrics.png" alt-text="Screenshot shows Metrics Explorer with Service Bus namespace selected.":::
0 commit comments