Supported metrics for Microsoft.App/containerapps

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

Category Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Basic Reserved Cores

Number of reserved cores for container app revisions
CoresQuotaUsed Count Maximum, Minimum revisionName PT1M Yes
Basic CPU Usage Percentage (Preview)

Percentage of CPU limit used in percentage points
CpuPercentage Percent Total (Sum), Average, Maximum, Minimum podName PT1M Yes
Java jvm.buffer.count

Number of buffers in the memory pool
JvmBufferCount Count Average, Maximum, Minimum revisionName, podName, container, poolName PT1M Yes
Java jvm.buffer.memory.limit

Amount of total memory capacity of buffers (in bytes)
JvmBufferMemoryLimit Bytes Average, Maximum, Minimum revisionName, podName, container, poolName PT1M Yes
Java jvm.buffer.memory.usage

Amount of memory used by buffers, such as direct memory (in bytes)
JvmBufferMemoryUsage Bytes Average, Maximum, Minimum revisionName, podName, container, poolName PT1M Yes
Java jvm.gc.count

Count of JVM garbage collection actions
JvmGcCount Count Total (Sum), Average, Maximum, Minimum revisionName, podName, container, gcName PT1M Yes
Java jvm.gc.duration

Duration of JVM garbage collection actions (in milliseconds)
JvmGcDuration Milliseconds Total (Sum), Average, Maximum, Minimum revisionName, podName, container, gcName PT1M Yes
Java jvm.memory.committed

Amount of memory guaranteed to be available for each pool (in bytes)
JvmMemoryCommitted Bytes Average, Maximum, Minimum revisionName, podName, container, poolName, poolType PT1M Yes
Java jvm.memory.limit

Amount of maximum obtainable memory for each pool (in bytes)
JvmMemoryLimit Bytes Average, Maximum, Minimum revisionName, podName, container, poolName, poolType PT1M Yes
Java jvm.memory.total.committed

Total amount of memory guaranteed to be available for heap or non-heap (in bytes)
JvmMemoryTotalCommitted Bytes Average, Maximum, Minimum revisionName, podName, container, poolType PT1M Yes
Java jvm.memory.total.limit

Total amount of maximum obtainable memory for heap or non-heap (in bytes)
JvmMemoryTotalLimit Bytes Average, Maximum, Minimum revisionName, podName, container, poolType PT1M Yes
Java jvm.memory.total.used

Total amount of memory used by heap or non-heap (in bytes)
JvmMemoryTotalUsed Bytes Average, Maximum, Minimum revisionName, podName, container, poolType PT1M Yes
Java jvm.memory.used

Amount of memory used by each pool (in bytes)
JvmMemoryUsed Bytes Average, Maximum, Minimum revisionName, podName, container, poolName, poolType PT1M Yes
Java jvm.thread.count

Number of executing platform threads
JvmThreadCount Count Average, Maximum, Minimum revisionName, podName, container, daemon, threadState PT1M Yes
Basic Memory Percentage (Preview)

Percentage of memory limit used, in percentage points
MemoryPercentage Percent Total (Sum), Average, Maximum, Minimum podName PT1M Yes
Basic Replica Count

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

Requests processed
Requests Count Average, Total (Sum), Maximum, Minimum revisionName, podName, statusCodeCategory, statusCode PT1M Yes
Basic Resiliency Connection Timeouts

Total connection timeouts
ResiliencyConnectTimeouts Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Resiliency Ejected Hosts

Number of currently ejected hosts
ResiliencyEjectedHosts Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Resiliency Ejections Aborted

Number of ejections aborted due to the max ejection %
ResiliencyEjectionsAborted Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Resiliency Request Retries

Total request retries
ResiliencyRequestRetries Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Resiliency Requests Pending Connection Pool

Total requests pending a connection pool connection
ResiliencyRequestsPendingConnectionPool Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Resiliency Request Timeouts

Total request that timed out waiting for a response
ResiliencyRequestTimeouts Count Total (Sum), Average, Maximum, Minimum revisionName PT1M Yes
Basic Average Response Time (Preview)

Average Response Time per Status Code
ResponseTime Milliseconds Average, Total (Sum), Maximum, Minimum statusCodeCategory, statusCode PT1M Yes
Basic Replica Restart Count

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

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

Number of total reserved cores for the container app
TotalCoresQuotaUsed Count Average, Maximum, Minimum <none> PT1M Yes
Basic Network Out Bytes

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

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
Basic Memory Working Set Bytes

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