Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Welcome to Microsoft Q&A,
@Selvam Sekar I hope you are doing well,
For production App Services, I recommend a layered monitoring approach using Azure Monitor metrics + Application Insights + Health Check.
- CPU and memory App Service provides native Azure Monitor metrics. For Web Apps, the relevant metrics include:
- CPU Time – CPU consumed by the application, rather than a direct CPU percentage.
- Average Memory Working Set / Memory Working Set – memory used by the application.
- Requests and Response Time for workload and performance.
- Application performance and failures Enable Application Insights for both the API and UI. It provides application-level telemetry such as request duration, failed requests, exceptions, dependencies, and availability tests. Use metric alerts for straightforward thresholds and Log Analytics/KQL alerts when you need more complex conditions.
- Availability and health Configure App Service Health Check with a dedicated
/healthendpoint. The endpoint should validate critical dependencies when appropriate, such as the database or messaging services. Health Check runs against each instance and can remove unhealthy instances from the load balancer. For external/user-perspective availability, also consider Application Insights availability tests.- Recommended production alerts
Average Memory Working Set Response Time HTTP 5xx / failed requests Request volume Application Insights exceptions and dependency failures Availability test failures Resource Health / Service Health events Avoid creating an alert for every metric. Define thresholds based on the application's normal baseline and use dynamic thresholds where appropriate, you will be fine....
Microsoft references:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/codeless-app-service
https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check
https://learn.microsoft.com/en-us/azure/app-service/web-sites-monitor
If this answer helped clarify the platform capabilities and save you troubleshooting time, please consider marking it as Accepted. This helps others in the community find similar solutions.