Monitor Azure Container Apps metrics
Azure Monitor collects metric data from your container app at regular intervals to help you gain insights into the performance and health of your container app.
The metrics explorer in the Azure portal allows you to visualize the data. You can also retrieve raw metric data through the Azure CLI and Azure PowerShell cmdlets.
Available metrics
Container Apps provides these metrics.
Title | Description | Metric ID | Unit |
---|---|---|---|
CPU usage nanocores | CPU usage in nanocores (1,000,000,000 nanocores = 1 core) | UsageNanoCores | nanocores |
Memory working set bytes | Working set memory used in bytes | WorkingSetBytes | bytes |
Network in bytes | Network received bytes | RxBytes | bytes |
Network out bytes | Network transmitted bytes | TxBytes | bytes |
Requests | Requests processed | Requests | n/a |
Replica count | Number of active replicas | Replicas | n/a |
Replica Restart Count | Number of replica restarts | RestartCount | n/a |
The metrics namespace is microsoft.app/containerapps
.
Metrics snapshots
Select the Monitoring tab on your app's Overview page to display charts showing your container app's current CPU, memory, and network utilization.
From this view, you can pin one or more charts to your dashboard or select a chart to open it in the metrics explorer.
Using metrics explorer
The Azure Monitor metrics explorer lets you create charts from metric data to help you analyze your container app's resource and network usage over time. You can pin charts to a dashboard or in a shared workbook.
Open the metrics explorer in the Azure portal by selecting Metrics from the sidebar menu on your container app's page. To learn more about metrics explorer, go to Getting started with metrics explorer.
Create a chart by selecting Metric. You can modify the chart by changing aggregation, adding more metrics, changing time ranges and intervals, adding filters, and applying splitting.
Add filters
Optionally, you can create filters to limit the data shown based on revisions and replicas. To create a filter:
- Select Add filter.
- Select a revision or replica from the Property list.
- Select values from the Value list.
Split metrics
When your chart contains a single metric, you can choose to split the metric information by revision or replica with the exceptions:
- The Replica count metric can only split by revision.
- The Requests metric can also be split by status code and status code category.
To split by revision or replica:
- Select Apply splitting
- Select Revision or Replica from the Values drop-down list.
- You can set the limit of the number of revisions or replicas to display in the chart. The default is 10.
- You can set Sort order to Ascending or Descending. The default is Descending.
Add scopes
You can add more scopes to view metrics across multiple container apps.
Feedback
Submit and view feedback for