Observability in Azure Container Apps
Azure Container Apps provides several built-in observability features that together give you a holistic view of your container app's health throughout its application lifecycle. These features help you monitor and diagnose the state of your app to improve performance and respond to trends and critical problems.
These features include:
Feature | Description |
---|---|
Log streaming | View streaming system and console logs from a container in near real-time. |
Container console | Connect to the Linux console in your containers to debug your application from inside the container. |
Application logging | Monitor, analyze and debug your app using log data. |
Note
Although Container Apps doesn't support the Application Insights auto-instrumentation agent, you can instrument your application code using Application Insights SDKs.
Application lifecycle observability
With Container Apps observability features, you can monitor your app throughout the development-to-production lifecycle. The following sections describe the most effective monitoring features for each phase.
Development and test
During the development and test phase, real-time access to your containers' application logs and console is critical for debugging issues. Container Apps provides:
- Log streaming: View real-time log streams from your containers.
- Container console: Access the container console to debug your application.
Deployment
Once you deploy your container app, continuous monitoring helps you quickly identify problems that may occur around error rates, performance, and resource consumption.
Maintenance
Container Apps manages updates to your container app by creating revisions. You can run multiple revisions concurrently in blue green deployments or to perform A/B testing.