Supported metrics for Microsoft.EventHub/Namespaces

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

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

Total Active Connections for Microsoft.EventHub.
ActiveConnections Count Maximum, Minimum, Average <none> PT1M No
Capture Backlog.

Capture Backlog for Microsoft.EventHub.
CaptureBacklog Count Total (Sum) EntityName PT1M No
Captured Bytes.

Captured Bytes for Microsoft.EventHub.
CapturedBytes Bytes Total (Sum) EntityName PT1M No
Captured Messages.

Captured Messages for Microsoft.EventHub.
CapturedMessages Count Total (Sum) EntityName PT1M No
Connections Closed.

Connections Closed for Microsoft.EventHub.
ConnectionsClosed Count Maximum EntityName PT1M No
Connections Opened.

Connections Opened for Microsoft.EventHub.
ConnectionsOpened Count Maximum EntityName PT1M No
Archive backlog messages (Deprecated)

Event Hub archive messages in backlog for a namespace (Deprecated)
EHABL Count Total (Sum) <none> PT1M Yes
Archive message throughput (Deprecated)

Event Hub archived message throughput in a namespace (Deprecated)
EHAMBS Bytes Total (Sum) <none> PT1M Yes
Archive messages (Deprecated)

Event Hub archived messages in a namespace (Deprecated)
EHAMSGS Count Total (Sum) <none> PT1M Yes
Incoming bytes (Deprecated)

Event Hub incoming message throughput for a namespace (Deprecated)
EHINBYTES Bytes Total (Sum) <none> PT1M Yes
Incoming bytes (obsolete) (Deprecated)

Event Hub incoming message throughput for a namespace. This metric is deprecated. Please use Incoming bytes metric instead (Deprecated)
EHINMBS Bytes Total (Sum) <none> PT1M Yes
Incoming Messages (Deprecated)

Total incoming messages for a namespace (Deprecated)
EHINMSGS Count Total (Sum) <none> PT1M Yes
Outgoing bytes (Deprecated)

Event Hub outgoing message throughput for a namespace (Deprecated)
EHOUTBYTES Bytes Total (Sum) <none> PT1M Yes
Outgoing bytes (obsolete) (Deprecated)

Event Hub outgoing message throughput for a namespace. This metric is deprecated. Please use Outgoing bytes metric instead (Deprecated)
EHOUTMBS Bytes Total (Sum) <none> PT1M Yes
Outgoing Messages (Deprecated)

Total outgoing messages for a namespace (Deprecated)
EHOUTMSGS Count Total (Sum) <none> PT1M Yes
Failed Requests (Deprecated)

Total failed requests for a namespace (Deprecated)
FAILREQ Count Total (Sum) <none> PT1M Yes
Incoming Bytes.

Incoming Bytes for Microsoft.EventHub.
IncomingBytes Bytes Total (Sum) EntityName PT1M Yes
Incoming Messages

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

Incoming Requests for Microsoft.EventHub.
IncomingRequests Count Total (Sum) EntityName PT1M Yes
Incoming Messages (obsolete) (Deprecated)

Total incoming messages for a namespace. This metric is deprecated. Please use Incoming Messages metric instead (Deprecated)
INMSGS Count Total (Sum) <none> PT1M Yes
Incoming Requests (Deprecated)

Total incoming send requests for a namespace (Deprecated)
INREQS Count Total (Sum) <none> PT1M Yes
Internal Server Errors (Deprecated)

Total internal server errors for a namespace (Deprecated)
INTERR Count Total (Sum) <none> PT1M Yes
Other Errors (Deprecated)

Total failed requests for a namespace (Deprecated)
MISCERR Count Total (Sum) <none> PT1M Yes
CPU

CPU usage metric for Premium SKU namespaces.
NamespaceCpuUsage Percent Maximum, Minimum, Average Replica PT1M No
Memory Usage

Memory usage metric for Premium SKU namespaces.
NamespaceMemoryUsage Percent Maximum, Minimum, Average Replica PT1M No
Outgoing Bytes.

Outgoing Bytes for Microsoft.EventHub.
OutgoingBytes Bytes Total (Sum) EntityName PT1M Yes
Outgoing Messages

Outgoing Messages for Microsoft.EventHub.
OutgoingMessages Count Total (Sum) EntityName PT1M Yes
Outgoing Messages (obsolete) (Deprecated)

Total outgoing messages for a namespace. This metric is deprecated. Please use Outgoing Messages metric instead (Deprecated)
OUTMSGS Count Total (Sum) <none> PT1M Yes
Quota Exceeded Errors.

Quota Exceeded Errors for Microsoft.EventHub.
QuotaExceededErrors Count Total (Sum) EntityName, OperationResult 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
Server Errors.

Server Errors for Microsoft.EventHub.
ServerErrors Count Total (Sum) EntityName, OperationResult PT1M No
Size

Size of an EventHub in Bytes.
Size Bytes Average, Minimum, Maximum EntityName PT1M No
Successful Requests

Successful Requests for Microsoft.EventHub.
SuccessfulRequests Count Total (Sum) EntityName, OperationResult PT1M No
Successful Requests (Deprecated)

Total successful requests for a namespace (Deprecated)
SUCCREQ Count Total (Sum) <none> PT1M Yes
Server Busy Errors (Deprecated)

Total server busy errors for a namespace (Deprecated)
SVRBSY Count Total (Sum) <none> PT1M Yes
Throttled Requests.

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

User Errors for Microsoft.EventHub.
UserErrors Count Total (Sum) EntityName, OperationResult PT1M No

Next steps