Ensure that Performance Diagnostics feature is enabled for your Microsoft Azure virtual machine instances in order to help mitigate VM performance issues. Performance Diagnostics installs a VM extension that runs a self-help diagnostics tool named PerfInsights, available for both Windows and Linux operating systems. PerfInsights can collect and analyze diagnostic information such as virtual machine hardware and storage configuration, various log files, OS information, PCI device information, guest OS log files, configuration files, information about running processes, virtual machine instance disk, memory, CPU usage, and networking information. Once this data is properly collected and analyzed, PerfInsights provides an easy-to-read report of findings and recommendations necessary to remediate the performance issues found. You can run performance diagnostics directly from the Azure Portal, where you can also review VM instance performance insights and diagnostics data.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
efficiency
Once enabled, the Performance Diagnostics feature can help you find and troubleshoot performance-related issues that can affect your Windows or Linux virtual machines (VMs). Supported troubleshooting scenarios include quick checks on known issues and best practices, and complex problems that involve slow VM performance or high usage of CPU, memory, or disk space.
Note: The list of operating systems supported by Performance Diagnostics feature is available at this URL.
Audit
To determine if Performance Diagnostics is enabled for your Azure virtual machines, perform the following operations:
Remediation / Resolution
To enable the Performance Diagnostics self-help tool for your Microsoft Azure virtual machines (VMs), perform the following operations:
Note: Enabling Performance Diagnostics for your Microsoft Azure virtual machines using Command Line Interface (CLI) is not currently supported.References
- Azure Official Documentation
- Performance diagnostics for Azure virtual machines
- Azure Performance Diagnostics VM Extension for Windows
- How to use PerfInsights
- Azure Command Line Interface (CLI) Documentation
- az vm list
- az vm extension list