Edit

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.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • 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 -S 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 Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Acknowledge Operations Latency

The observed latency in milliseconds for acknowledge events operation.
AcknowledgeLatencyInMilliseconds No MilliSeconds Average Topic, EventSubscriptionName PT1M No
Dead Lettered Events

Total dead lettered events matching to this event subscription.
DeadLetteredCount No Count Total (Sum) Topic, EventSubscriptionName, DeadLetterReason PT1M No
Dropped Events

Total dropped events matching to this event subscription.
DroppedEventCount No Count Total (Sum) Topic, EventSubscriptionName, DropReason PT1M No
Failed Acknowledged Events

The number of events for which acknowledgments from clients failed.
FailedAcknowledgedEvents No 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 No 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 No Count Total (Sum) Topic, EventSubscriptionName, Error, ErrorType PT1M No
Failed Released Events

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

Total events matched to this event subscription.
MatchedEventCount No Count Total (Sum) Topic, EventSubscriptionName PT1M No
MQTT: Connections

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

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

The number of expired retained messages by the namespace.
Mqtt.ExpiredRetainedMessages No Count Total (Sum) <none> PT1M Yes
MQTT: Failed Published Messages

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

The number of failed routed messages by the namespace.
Mqtt.FailedRoutedMessages No 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 No Count Total (Sum) Protocol, OperationType, Error PT1M Yes
MQTT: Failed Webhook Authentication Requests

The number of failed authentication requests to the webhook
Mqtt.FailedWebhookAuthenticationRequests No Count Total (Sum) StatusCode, Error PT1M No
MQTT: Request Count

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

The number of retained messages by the namespace.
Mqtt.RetainedMessagesCount No Count Average <none> PT1M Yes
MQTT: Retained Messages Size

The size of retained messages by the namespace.
Mqtt.RetainedMessagesSize No Bytes Average <none> PT1M Yes
MQTT: Successful Connect Latency

The observed latency in milliseconds for successful MQTT connects.
Mqtt.SuccessfulConnectLatencyInMilliseconds No MilliSeconds Average Protocol PT1M Yes
MQTT: Successful Delivered Messages

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

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

The observed latency in milliseconds for successful MQTT publishes.
Mqtt.SuccessfulPublishLatencyInMilliseconds No MilliSeconds Average QoS, Protocol, Retain PT1M Yes
MQTT: Successful Routed Messages

The number of successful routed messages by the namespace.
Mqtt.SuccessfulRoutedMessages No 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 No Count Total (Sum) Protocol, OperationType PT1M Yes
MQTT: Successful Webhook Authentication Requests

The number of successful authentication requests to the webhook
Mqtt.SuccessfulWebhookAuthenticationRequests No Count Total (Sum) Decision PT1M No
MQTT: Throttling Enforcements

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

The number of bytes published to or delivered by the namespace.
Mqtt.Throughput No Bytes Total (Sum) Direction PT1M Yes
Namespace Throughput Units

The current throughput units allocated to the namespace.
NamespaceThroughputUnits No Count Maximum <none> PT1M Yes
Publish Operations Latency

The observed latency in milliseconds for publish events operation.
PublishLatencyInMilliseconds No MilliSeconds Average Topic PT1M No
Receive Operations Latency

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

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

The number of events for which delivery was successfully acknowledged by clients.
SuccessfulAcknowledgedEvents No 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 No 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 No Count Total (Sum) Topic, EventSubscriptionName PT1M No
Successful Released Events

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

Total events not matching any of the event subscriptions for this topic.
UnmatchedEventCount No Count Total (Sum) Topic PT1M No

Next steps