Edit

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.
  • 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.

Category: Basic

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Reserved Cores

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

Percentage of CPU limit used in percentage points
CpuPercentage No Percent Total (Sum), Average, Maximum, Minimum podName PT1M Yes
Memory Percentage (Preview)

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

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

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

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

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

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

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

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

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

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

The cumulative number of times the replica has restarted since it was created.
RestartCount No Count Average, Total (Sum), Maximum, Minimum revisionName, podName PT1M Yes
Network In Bytes

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

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

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

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

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

Category: Gpu

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
GPU Utilization Percentage (Preview)

Gpu utilization indicates the percent of time over the past sample period during which one or more kernels were executing on the GPU.
GpuUtilizationPercentage No Percent Average, Maximum, Minimum revisionName, podName PT1M Yes

Category: Java

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
jvm.buffer.count

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

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

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

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

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

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

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

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

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

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

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

Number of executing platform threads
JvmThreadCount No Count Average, Maximum, Minimum revisionName, podName, container, daemon, threadState PT1M Yes

Next steps