Supported metrics for Microsoft.Web/containerapps

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

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

Number of replicas count of container app
Replicas Count Average, Total (Sum), Maximum, Minimum revisionName, deploymentName PT1M Yes
Requests

Requests processed
Requests Count Average, Total (Sum), Maximum, Minimum revisionName, podName, statusCodeCategory, statusCode PT1M Yes
Replica Restart Count

Restart count of container app replicas
RestartCount Count Average, Total (Sum), Maximum, Minimum revisionName, podName PT1M Yes
Network In Bytes

Network received bytes
RxBytes Bytes Average, Total (Sum), Maximum, Minimum revisionName, podName PT1M Yes
Network Out Bytes

Network transmitted bytes
TxBytes Bytes Average, Total (Sum), Maximum, Minimum revisionName, podName PT1M Yes
CPU Usage Nanocores

CPU consumed by the container app, in nano cores. 1,000,000,000 nano cores = 1 core
UsageNanoCores NanoCores Total (Sum), Average, Maximum, Minimum revisionName, podName PT1M Yes
Memory Working Set Bytes

Container App working set memory used in bytes.
WorkingSetBytes Bytes Total (Sum), Average, Maximum, Minimum revisionName, podName PT1M Yes

Next steps