Supported metrics for Microsoft.ServiceBus/Namespaces

The following table lists the metrics available for the Microsoft.ServiceBus/Namespaces resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - Microsoft.ServiceBus/Namespaces

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Abandoned Messages

Count of messages abandoned on a Queue/Topic.
AbandonMessage Count Total (Sum) EntityName PT1M Yes
ActiveConnections

Total Active Connections for Microsoft.ServiceBus.
ActiveConnections Count Total (Sum) <none> PT1M No
Count of active messages in a Queue/Topic.

Count of active messages in a Queue/Topic.
ActiveMessages Count Average, Minimum, Maximum EntityName PT1M No
Completed Messages

Count of messages completed on a Queue/Topic.
CompleteMessage Count Total (Sum) EntityName PT1M Yes
Connections Closed.

Connections Closed for Microsoft.ServiceBus.
ConnectionsClosed Count Average EntityName PT1M No
Connections Opened.

Connections Opened for Microsoft.ServiceBus.
ConnectionsOpened Count Average EntityName PT1M No
CPU (Deprecated)

Service bus premium namespace CPU usage metric. This metric is depricated. Please use the CPU metric (NamespaceCpuUsage) instead.
CPUXNS Percent Maximum Replica PT1M No
Count of dead-lettered messages in a Queue/Topic.

Count of dead-lettered messages in a Queue/Topic.
DeadletteredMessages Count Average, Minimum, Maximum EntityName PT1M No
Incoming Messages

Incoming Messages for Microsoft.ServiceBus.
IncomingMessages Count Total (Sum) EntityName PT1M Yes
Incoming Requests

Incoming Requests for Microsoft.ServiceBus.
IncomingRequests Count Total (Sum) EntityName PT1M Yes
Count of messages in a Queue/Topic.

Count of messages in a Queue/Topic.
Messages Count Average, Minimum, Maximum EntityName PT1M No
CPU

Service bus premium namespace CPU usage metric.
NamespaceCpuUsage Percent Maximum Replica PT1M No
Memory Usage

Service bus premium namespace memory usage metric.
NamespaceMemoryUsage Percent Maximum Replica PT1M No
Outgoing Messages

Outgoing Messages for Microsoft.ServiceBus.
OutgoingMessages Count Total (Sum) EntityName PT1M Yes
Pending Checkpoint Operations Count.

Pending Checkpoint Operations Count.
PendingCheckpointOperationCount Count Total (Sum) <none> PT1M No
ReplicationLagCount

Replication lag by message count
ReplicationLagCount Count Maximum, Minimum, Average EntityName PT1M No
ReplicationLagDuration

Replication lag by time duration
ReplicationLagDuration Seconds Maximum, Minimum, Average EntityName PT1M Yes
Count of scheduled messages in a Queue/Topic.

Count of scheduled messages in a Queue/Topic.
ScheduledMessages Count Average, Minimum, Maximum EntityName PT1M No
Server Errors.

Server Errors for Microsoft.ServiceBus.
ServerErrors Count Total (Sum) EntityName, OperationResult PT1M No
Server Send Latency.

Latency of Send Message operations for Service Bus resources.
ServerSendLatency MilliSeconds Average EntityName PT1M Yes
Size

Size of an Queue/Topic in Bytes.
Size Bytes Average, Minimum, Maximum EntityName PT1M No
Successful Requests

Total successful requests for a namespace
SuccessfulRequests Count Total (Sum) EntityName, OperationResult PT1M No
Throttled Requests.

Throttled Requests for Microsoft.ServiceBus.
ThrottledRequests Count Total (Sum) EntityName, OperationResult, MessagingErrorSubCode PT1M No
User Errors.

User Errors for Microsoft.ServiceBus.
UserErrors Count Total (Sum) EntityName, OperationResult PT1M No
Memory Usage (Deprecated)

Service bus premium namespace memory usage metric. This metric is deprecated. Please use the Memory Usage (NamespaceMemoryUsage) metric instead.
WSXNS Percent Maximum Replica PT1M No

Next steps