question

akshaybabannavar-9354 avatar image
0 Votes"
akshaybabannavar-9354 asked Grmacjon-MSFT commented

How to check CPU utilization of specific Azure Resource in Azure Portal. Azure Monitor or Azure Webapp Diagnose and Solve Problem

Hi,
There are two ways to check the CPU utilization of webapp in azure.
1. App service Plan -> Overview -> CPU Percentage chart. ( overall CPU utilization of the resource in the app service plan)
2. Go to specific azure resource such as web app and than click on Diagnose and solve problem -> Availability and Performance -> CPU Usage.

Which is the right option to know the CPU utilization of the azure webapp ?

azure-webappsazure-monitor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
1 Vote"
Grmacjon-MSFT answered Grmacjon-MSFT commented

Hi @akshaybabannavar-9354,


We would recommend using the Azure Webapp Diagnose and Solve Problem feature. This shows the average CPU percentage consumed by your app per instance. You can also use it to identify apps that are consuming maximum CPU resources on an App Service Plan hosted on Azure App Service Windows. Another thing to note is that App Services Diagnostics has now deeper and better integration with Application Insights (Azure Monitor). You can connect an Application Insights resource with App Service diagnostics and bring together the best of both worlds, allowing you to troubleshoot and debug your applications more effectively.

For more info please watch this short video or view this azure doc.

Hope that helps.

Thanks,

Grace



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

hi @Grmacjon-MSFT ,
Thank you for the response. I got my answer :)
Just curious to know when Azure Webapp Diagnose and Solve Problem feature shows average CPU percentage consumer by app per instance.
What is the need of this App service Plan -> Overview -> CPU Percentage chart feature ?

0 Votes 0 ·
Grmacjon-MSFT avatar image Grmacjon-MSFT akshaybabannavar-9354 ·

Hello @akshaybabannavar-9354,

Glad to hear that. Azure Monitor gives you an overview of the CPU usage of your apps while with Azure Webapp Diagnose and Solve Problem feature shows the average CPU percentage consumer by app per instance not just the overview. It's more detailed in the metric.

feel free to accept my response if it helped answer your question :)

Thanks,

Grace

2 Votes 2 ·