Supported metrics for Microsoft.EventGrid/namespaces

The following table lists the metrics available for the Microsoft.EventGrid/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 - Metrics export using data collection rules and 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.EventGrid/namespaces

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Acknowledge Operations Latency

The observed latency in milliseconds for acknowledge events operation.
AcknowledgeLatencyInMilliseconds MilliSeconds Total (Sum) Topic, EventSubscriptionName PT1M No
Failed Acknowledged Events

The number of events for which acknowledgements from clients failed.
FailedAcknowledgedEvents Count Total (Sum) Topic, EventSubscriptionName, Error, ErrorType PT1M No
Failed Publish Events

The number of events that weren't accepted by Event Grid. This count excludes events that were published but failed to reach Event Grid due to a network issue, for example.
FailedPublishedEvents Count Total (Sum) Topic, Error, ErrorType PT1M No
Failed Received Events

The number of events that were requested by clients but weren't delivered successfully by Event Grid.
FailedReceivedEvents Count Total (Sum) Topic, EventSubscriptionName, Error, ErrorType PT1M No
Failed Released Events

The number of events for which release failed.
FailedReleasedEvents Count Total (Sum) Topic, EventSubscriptionName, Error, ErrorType PT1M No
MQTT: Connections

The number of active connections in the namespace.
Mqtt.Connections Count Total (Sum) Protocol PT1M Yes
MQTT: Dropped Sessions

The number of dropped sessions by the namespace.
Mqtt.DroppedSessions Count Total (Sum) DropReason PT1M Yes
MQTT: Failed Published Messages

The number of MQTT messages that failed to be published into the namespace.
Mqtt.FailedPublishedMessages Count Total (Sum) QoS, Protocol, Error PT1M Yes
MQTT: Failed Routed Messages

The number of failed routed messages by the namespace.
Mqtt.FailedRoutedMessages Count Total (Sum) Error PT1M Yes
MQTT: Failed Subscription Operations

The number of failed subscription operations (Subscribe, Unsubscribe). This metric is incremented for every topic filter within a subscription request.
Mqtt.FailedSubscriptionOperations Count Total (Sum) Protocol, OperationType, Error PT1M Yes
MQTT: Request Count

The number of MQTT requests.
Mqtt.RequestCount Count Total (Sum) OperationType, Protocol, Error, Result PT1M Yes
MQTT: Successful Delivered Messages

The number of messages delivered by the namespace. There are no failures for this operation.
Mqtt.SuccessfulDeliveredMessages Count Total (Sum) QoS, Protocol PT1M Yes
MQTT: Successful Published Messages

The number of MQTT messages that were published successfully into the namespace.
Mqtt.SuccessfulPublishedMessages Count Total (Sum) QoS, Protocol PT1M Yes
MQTT: Successful Routed Messages

The number of successful routed messages by the namespace.
Mqtt.SuccessfulRoutedMessages Count Total (Sum) <none> PT1M Yes
MQTT: Successful Subscription Operations

The number of successful subscription operations (Subscribe, Unsubscribe). This metric is incremented for every topic filter within a subscription request.
Mqtt.SuccessfulSubscriptionOperations Count Total (Sum) Protocol, OperationType PT1M Yes
MQTT: Throttling Enforcements

The number of times Event Grid throttled a request because it exceeded the limit.
Mqtt.ThrottlingEnforcements Count Total (Sum) ThrottleType PT1M Yes
MQTT: Throughput

The number of bytes published to or delivered by the namespace.
Mqtt.Throughput Bytes Total (Sum) Direction PT1M Yes
Publish Operations Latency

The observed latency in milliseconds for publish events operation.
PublishLatencyInMilliseconds MilliSeconds Total (Sum) Topic PT1M No
Receive Operations Latency

The observed latency in milliseconds for receive events operation.
ReceiveLatencyInMilliseconds MilliSeconds Total (Sum) Topic, EventSubscriptionName PT1M No
Reject Operations Latency

The observed latency in milliseconds for reject events operation.
RejectLatencyInMilliseconds MilliSeconds Total (Sum) Topic, EventSubscriptionName PT1M No
Successful Acknowledged Events

The number of events for which delivery was successfully acknowledged by clients.
SuccessfulAcknowledgedEvents Count Total (Sum) Topic, EventSubscriptionName PT1M No
Successful Publish Events

The number of events published successfully to a topic or topic space within a namespace.
SuccessfulPublishedEvents Count Total (Sum) Topic PT1M No
Successful Received Events

The total number of events that were successfully returned to (received by) clients by Event Grid.
SuccessfulReceivedEvents Count Total (Sum) Topic, EventSubscriptionName PT1M No
Successful Released Events

The number of events that were released successfully by queue subscriber clients.
SuccessfulReleasedEvents Count Total (Sum) Topic, EventSubscriptionName PT1M No

Next steps