I have an Azure Function App that contains a number of functions. I suspect one of these functions is consuming high CPU, is there a way to view the CPU usage based on the specific function?
I have an Azure Function App that contains a number of functions. I suspect one of these functions is consuming high CPU, is there a way to view the CPU usage based on the specific function?
2
Answers
In the Azure Portal – Function App – Diagnose and Solve Problems – Click on the "Availability and Performance" for CPU Analysis on Functions.
Not Sure can we determine the CPU Usage per function because Scaling Controller control the scaling of instances due to/based on high CPU Utilization, I/O requests, High Utilization of Service Bus Queue, Storage Queues of Function App and only few information provided about CPU Usage in Function App by Microsoft.
In this way you can find the high CPU utilization for any app
And also choose Availability and Performance
you can check High CPU Analysis as shown below
And Memory Analysis as shown below