Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article discusses how to troubleshoot a problem in Application Insights that prevents you from viewing metrics that are related to CPU and memory performance.
Symptoms
In the Azure portal, if you go to your Application Insights resource's overview page and select Live Metrics, you don't see the metrics charts for CPU Total and Committed Memory. These two metrics are also missing if you select other items in the navigation pane, such as Performance, Failures, Metrics, or Logs.
Cause
When you run the monitoring web application on a Windows computer or virtual machine, the instrumentation package (SDK) that you installed for your application doesn't have the correct permissions to read computer-level performance counter values. For the SDK to have access, the application pool identity under which your web application runs must be added as a member of the following local security groups:
- Performance Log Users
- Performance Monitor Users
Solution
On the computer or virtual machine that hosts the application, add your user account to both the Performance Log Users group and the Performance Monitor Users group by following these steps:
Sign in to the computer or virtual machine as an administrator.
On the Start menu, search for and select Computer Management (compmgmt.msc), and then press Enter to open the Computer Management snap-in.
In the navigation pane, expand System Tools, expand Local Users and Groups, and then select Groups. In the list of groups, select Performance Log Users.
Select the Properties icon to display the property dialog box for the group. Then, select Add to display the Select Users dialog box.
In the Enter the object names to select box, type the name of the user account or group account that you want to add. Then, select OK and OK to save the changes and return to the snap-in window.
In the list of groups, select Performance Monitor Users, and then repeat the previous two steps.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.