VM Insights not working. No data available in metrics.

Bob Watson 0 Reputation points
2023-10-25T02:57:59.1433333+00:00

I'm trying to view Performance Metrics collected by VM Insights. Azure says there are no metrics available.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,409 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 4,915 Reputation points Microsoft Vendor
    2023-10-25T09:14:32.2+00:00

    Hi @Bob Watson ,

    Thanks for contacting Microsoft Q&A platform.

    If you're trying to view performance metrics collected by VM Insights in Azure, but Azure reports that there are no metrics available, there are several possible reasons for this issue.

    Check VM Insights Configuration:

    Ensure that VM Insights is properly configured and enabled for the virtual machine. You can enable VM Insights through the Azure portal, Azure PowerShell, or Azure CLI.

    Data Collection Delay:

    It can sometimes take a while for performance metrics to become available. Wait for some time (30 minutes to an hour) after enabling VM Insights to allow data collection to start.

    Verify Metrics Retention:

    Confirm that the metrics you are trying to view are within the retention period. VM Insights retains performance data for a specific duration, and older data may not be available.

    Check the Virtual Machine:

    Ensure that the virtual machine you are monitoring is running and operational. Metrics won't be collected if the VM is stopped or in a non-operational state.

    Check for Agent Installation:

    VM Insights relies on the Log Analytics agent (formerly known as Microsoft Monitoring Agent) to collect performance data. Make sure the agent is installed and configured correctly on the virtual machine. You can check the agent's status in the Azure portal.

    Check the VM's Azure Region:

    Verify that the virtual machine and VM Insights are in the same Azure region. Sometimes, metrics can be delayed or not available if the VM and monitoring services are in different regions.

    Please follow the steps below to check performance metrics for your VM.

    1.      Login into your azure portal and check for your VM.

    2.      In the left side pane choose Insights under Monitoring section.
    User's image

    3.      Then select Analyze data option.
    User's image

    4.      You can select the time range as per your requirement.
    User's image

    Hope this helps you.

    0 comments No comments