Azure VM Difference between metric Percentage CPU and Insight CPU Utilization

Christian Fabián 156 Reputation points
2023-04-11T21:57:42.2633333+00:00

I can't find a clear explanation on the difference between Percentage CPU metric and CPU Utilization on insights for an Azure VM. I see that values differs between them. Is this documented anywhere?

Thanks

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,658 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,034 questions
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2023-04-13T00:59:21.29+00:00

    Hi,

    Percentage CPU is from the host perspective whereas Insights CPU Utilization is from within the VM perspective.

    This is same concept as viewing Task Manager inside of a VM running on Hyper-V and viewing Hyper-V Performance counters on parent partition.

    If the above is helpful please click Accept Answer.

    Thanks.

    -TP

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,996 Reputation points Moderator
    2023-04-18T05:02:45.2466667+00:00

    @Christian Fabián The "Percentage CPU" metric in Azure VMs is a basic metric that shows the percentage of CPU usage for a VM. It is a standard metric that is available for all VMs in Azure and can be viewed in the Azure portal or queried using Azure Monitor. On the other hand, "Insight CPU Utilization" is a more advanced metric that is available through Azure Monitor for VMs that have the Log Analytics agent installed. This metric provides more detailed information about CPU usage, including the percentage of CPU usage broken down by process and the amount of CPU time used by each process. It also provides information about CPU usage over time, allowing you to see trends and patterns in CPU usage.

    In summary, "Percentage CPU" is a basic metric that shows overall CPU usage for a VM, while "Insight CPU Utilization" is a more advanced metric that provides more detailed information about CPU usage, including usage by process and over time.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.