Supported metrics for Microsoft.Relay/namespaces

The following table lists the metrics available for the Microsoft.Relay/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.Relay/namespaces

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

Total ActiveConnections for Microsoft.Relay.
ActiveConnections Count Total (Sum) EntityName PT1M No
ActiveListeners

Total ActiveListeners for Microsoft.Relay.
ActiveListeners Count Total (Sum) EntityName PT1M No
BytesTransferred

Total BytesTransferred for Microsoft.Relay.
BytesTransferred Bytes Total (Sum) EntityName PT1M Yes
ListenerConnections-ClientError

ClientError on ListenerConnections for Microsoft.Relay.
ListenerConnections-ClientError Count Total (Sum) EntityName, OperationResult PT1M No
ListenerConnections-ServerError

ServerError on ListenerConnections for Microsoft.Relay.
ListenerConnections-ServerError Count Total (Sum) EntityName, OperationResult PT1M No
ListenerConnections-Success

Successful ListenerConnections for Microsoft.Relay.
ListenerConnections-Success Count Total (Sum) EntityName, OperationResult PT1M No
ListenerConnections-TotalRequests

Total ListenerConnections for Microsoft.Relay.
ListenerConnections-TotalRequests Count Total (Sum) EntityName PT1M No
ListenerDisconnects

Total ListenerDisconnects for Microsoft.Relay.
ListenerDisconnects Count Total (Sum) EntityName PT1M No
SenderConnections-ClientError

ClientError on SenderConnections for Microsoft.Relay.
SenderConnections-ClientError Count Total (Sum) EntityName, OperationResult PT1M No
SenderConnections-ServerError

ServerError on SenderConnections for Microsoft.Relay.
SenderConnections-ServerError Count Total (Sum) EntityName, OperationResult PT1M No
SenderConnections-Success

Successful SenderConnections for Microsoft.Relay.
SenderConnections-Success Count Total (Sum) EntityName, OperationResult PT1M No
SenderConnections-TotalRequests

Total SenderConnections requests for Microsoft.Relay.
SenderConnections-TotalRequests Count Total (Sum) EntityName PT1M No
SenderDisconnects

Total SenderDisconnects for Microsoft.Relay.
SenderDisconnects Count Total (Sum) EntityName PT1M No