Skip to content

Commit 4778f0d

Browse files
committed
edit pass: virtual-machines-batch-3
1 parent 6966ff8 commit 4778f0d

File tree

3 files changed

+35
-34
lines changed

3 files changed

+35
-34
lines changed
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
---
22
title: Change analysis in VM insights
3-
description: VM insights integration with Application Change Analysis integration allows you to view any changes made to a virtual machine that may have affected it performance.
3+
description: VM insights integration with Application Change Analysis integration allows you to view any changes made to a virtual machine that might have affected it performance.
44
ms.topic: conceptual
55
ms.date: 06/08/2022
66

77
---
88

99
# Change analysis in VM insights
10-
VM insights integration with [Application Change Analysis](../app/change-analysis.md) integration allows you to view any changes made to a virtual machine that may have affected it performance.
10+
VM insights integration with [Application Change Analysis](../app/change-analysis.md) integration allows you to view any changes made to a virtual machine that might have affected its performance.
1111

1212
## Overview
13-
Suppose you have a VM that beings running slow and want to investigate whether recent changes to its configuration could have affected its performance. You view the performance of the VM using VM insights and find that there is an increase in memory usage in the past hour. Change analysis can help you determine whether any configuration changes made around this time were the cause of this increase.
13+
Suppose you have a VM that's running slow and you want to investigate whether recent changes to its configuration could have affected its performance. You view the performance of the VM by using VM insights and find that there's an increase in memory usage in the past hour. Change analysis can help you determine whether any configuration changes made around this time were the cause of the increase.
1414

15-
The Application Change Analysis service aggregates changes from [Azure Resource Graph](../../governance/resource-graph/how-to/get-resource-changes.md) as well as nested properties changes such as network security rules from Azure Resource Manager.
15+
The Application Change Analysis service aggregates changes from [Azure Resource Graph](../../governance/resource-graph/how-to/get-resource-changes.md) and nested properties changes like network security rules from Azure Resource Manager.
1616

17-
## Enabling change analysis
18-
To onboard change analysis in VM insights, you must register the *Microsoft.ChangeAnalysis* resource provider. The first time you launch VM insights or Application Change Analysis in the Azure portal, this resource provider will automatically be registered for you. Application Change Analysis is a free service that has no performance overhead on resources.
17+
## Enable change analysis
18+
To onboard change analysis in VM insights, you must register the *Microsoft.ChangeAnalysis* resource provider. The first time you start VM insights or Application Change Analysis in the Azure portal, this resource provider is automatically registered for you. Application Change Analysis is a free service that has no performance overhead on resources.
1919

2020
## View change analysis
21-
Change analysis is available from the **Performance** or **Map** tab of VM insights by selecting the **Change** option.
21+
Change analysis is available from the **Performance** or **Map** tab of VM insights by selecting the **Change** option.
2222

23-
[![Investigate changes](media/vminsights-change-analysis/investigate-changes-screenshot.png)](media/vminsights-change-analysis/investigate-changes-screenshot-zoom.png#lightbox)
23+
[![Screenshot that shows investigating changes.](media/vminsights-change-analysis/investigate-changes-screenshot.png)](media/vminsights-change-analysis/investigate-changes-screenshot-zoom.png#lightbox)
2424

25+
Select **Investigate Changes** to open the Application Change Analysis page filtered for the VM. Review the listed changes to see if there are any that could have caused the issue. If you're unsure about a particular change, look at the **Changed by** column to identify the person who made the change.
2526

26-
Click the **Investigate changes** button to launch the Application Change Analysis page filtered for the VM. You can review the listed changes to see if there are any that could have caused the issue. If you are unsure about a particular change, you can reference the **Change by** column to determine the person who made the change.
27-
28-
[![Change details](media/vminsights-change-analysis/change-details-screenshot.png)](media/vminsights-change-analysis/change-details-screenshot.png#lightbox)
27+
[![Screenshot that shows the Change details screen.](media/vminsights-change-analysis/change-details-screenshot.png)](media/vminsights-change-analysis/change-details-screenshot.png#lightbox)
2928

3029
## Next steps
3130
- Learn more about [Application Change Analysis](../app/change-analysis.md).
32-
- Learn more about [Azure Resource Graph](../../governance/resource-graph/how-to/get-resource-changes.md).
31+
- Learn more about [Azure Resource Graph](../../governance/resource-graph/how-to/get-resource-changes.md).
3332

articles/azure-monitor/vm/vminsights-enable-powershell.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
---
2-
title: Enable VM insights using PowerShell
3-
description: Describes how to enable VM insights for Azure virtual machines or Virtual Machine Scale Sets using Azure PowerShell.
2+
title: Enable VM insights by using PowerShell
3+
description: This article describes how to enable VM insights for Azure virtual machines or virtual machine scale sets by using Azure PowerShell.
44
ms.topic: conceptual
55
author: bwren
66
ms.author: bwren
77
ms.date: 06/08/2022
88

99
---
1010

11-
# Enable VM insights using PowerShell
12-
This article describes how to enable VM insights on Azure virtual machines using PowerShell. This procedure can be used for the following:
11+
# Enable VM insights by using PowerShell
12+
This article describes how to enable VM insights on Azure virtual machines by using PowerShell. This procedure can be used for:
1313

14-
- Azure virtual machine
15-
- Azure Virtual Machine Scale Set
14+
- Azure Virtual Machines
15+
- Azure Virtual Machine Scale Sets
1616

1717
> [!NOTE]
18-
> This article only applies to the Log Analytics agent. To enable VM insights with the Azure monitor agent, use other installation methods described in [Enable VM insights overview](vminsights-enable-overview.md).
18+
> This article only applies to the Log Analytics agent. To enable VM insights with the Azure Monitor agent, use other installation methods described in [Enable VM insights overview](vminsights-enable-overview.md).
1919
## Prerequisites
2020

21-
- [Log Analytics workspace configured for VM insights](../vm/vminsights-configure-workspace.md).
22-
- See [Supported operating systems](./vminsights-enable-overview.md#supported-operating-systems) to ensure that the operating system of the virtual machine or Virtual Machine Scale Set you're enabling is supported.
23-
- See [Manage the Azure Monitor agent](../agents/azure-monitor-agent-manage.md#prerequisites) for prerequisites related to Azure Monitor agent.
21+
You need to:
22+
23+
- [Configure a Log Analytics workspace for VM insights](../vm/vminsights-configure-workspace.md).
24+
- See [Supported operating systems](./vminsights-enable-overview.md#supported-operating-systems) to ensure that the operating system of the virtual machine or virtual machine scale set you're enabling is supported.
25+
- See [Manage Azure Monitor Agent](../agents/azure-monitor-agent-manage.md#prerequisites) for prerequisites related to Azure Monitor Agent.
2426

2527
## PowerShell script
2628

27-
To enable VM insights for multiple VMs or Virtual Machine Scale Sets, use the PowerShell script [Install-VMInsights.ps1](https://www.powershellgallery.com/packages/Install-VMInsights), which is available from the Azure PowerShell Gallery. This script iterates through:
29+
To enable VM insights for multiple VMs or virtual machine scale set, use the PowerShell script [Install-VMInsights.ps1](https://www.powershellgallery.com/packages/Install-VMInsights). The script is available from the Azure PowerShell Gallery. This script iterates through:
2830

29-
- Every virtual machine and Virtual Machine Scale Set in your subscription.
31+
- Every virtual machine and virtual machine scale set in your subscription.
3032
- The scoped resource group that's specified by *ResourceGroup*.
31-
- A single VM or Virtual Machine Scale Set that's specified by *Name*.
33+
- A single VM or virtual machine scale set that's specified by *Name*.
3234

33-
For each virtual machine or Virtual Machine Scale Set, the script verifies whether the VM extension for the Log Analytics agent and Dependency agent is already installed. If both extensions are installed, the script tries to reinstall it. If both extensions aren't installed, the script installs them.
35+
For each virtual machine or virtual machine scale set, the script verifies whether the VM extension for the Log Analytics agent and Dependency agent is already installed. If both extensions are installed, the script tries to reinstall it. If both extensions aren't installed, the script installs them.
3436

35-
Verify you're using Azure PowerShell module Az version 1.0.0 or later with `Enable-AzureRM` compatibility aliases enabled. Run `Get-Module -ListAvailable Az` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
37+
Verify that you're using Azure PowerShell module Az version 1.0.0 or later with `Enable-AzureRM` compatibility aliases enabled. Run `Get-Module -ListAvailable Az` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
3638

3739
To get a list of the script's argument details and example usage, run `Get-Help`.
3840

@@ -187,5 +189,5 @@ Failed: (0)
187189

188190
## Next steps
189191

190-
* See [Use VM insights Map](vminsights-maps.md) to view discovered application dependencies.
192+
* See [Use VM insights Map](vminsights-maps.md) to view discovered application dependencies.
191193
* See [View Azure VM performance](vminsights-performance.md) to identify bottlenecks, overall utilization, and your VM's performance.

articles/azure-monitor/vm/vminsights-performance.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To access from Azure Monitor:
3434
1. In the **Solutions** section, select **Virtual Machines**.
3535
1. Select the **Performance** tab.
3636

37-
![Screenshot that shows a VM insights Performance Top N List view.](media/vminsights-performance/vminsights-performance-aggview-01.png)
37+
![Screenshot that shows a VM insights Performance Top N List view.](media/vminsights-performance/vminsights-performance-aggview-01.png)
3838

3939
On the **Top N Charts** tab, if you have more than one Log Analytics workspace, select the workspace enabled with the solution from the **Workspace** selector at the top of the page. The **Group** selector returns subscriptions, resource groups, [computer groups](../logs/computer-groups.md), and virtual machine scale sets of computers related to the selected workspace that you can use to further filter results presented in the charts on this page and across the other pages. Your selection only applies to the Performance feature and doesn't carry over to Health or Map.
4040

@@ -50,15 +50,15 @@ Five capacity utilization charts are shown on the page:
5050

5151
Selecting the pushpin icon in the upper-right corner of a chart pins it to the last Azure dashboard you viewed. From the dashboard, you can resize and reposition the chart. Selecting the chart from the dashboard redirects you to VM insights and loads the correct scope and view.
5252

53-
Select the icon to the left of the pushpin icon on a chart to open the **Top N List** view. This list view shows the resource utilization for a performance metric by individual VM. It also shows which machine is trending highest.
53+
Select the icon to the left of the pushpin icon on a chart to open the **Top N List** view. This list view shows the resource utilization for a performance metric by individual VM. It also shows which machine is trending the highest.
5454

5555
![Screenshot that shows a Top N List view for a selected performance metric.](media/vminsights-performance/vminsights-performance-topnlist-01.png)
5656

57-
When you select the virtual machine, the **Properties** pane opens on the right. It shows properties like system information reported by the operating system and the properties of the Azure VM. Selecting an option under the **Quick Links** section redirects you to that feature directly from the selected VM.
57+
When you select the virtual machine, the **Properties** pane opens on the right side. It shows properties like system information reported by the operating system and the properties of the Azure VM. Selecting an option under the **Quick Links** section redirects you to that feature directly from the selected VM.
5858

5959
![Screenshot that shows a virtual machine Properties pane.](./media/vminsights-performance/vminsights-properties-pane-01.png)
6060

61-
Switch to the **Aggregated Charts** tab to view the performance metrics filtered by average or percentiles measured.
61+
You can switch to the **Aggregated Charts** tab to view the performance metrics filtered by average or percentiles measured.
6262

6363
![Screenshot that shows a VM insights Performance Aggregate view.](./media/vminsights-performance/vminsights-performance-aggview-02.png)
6464

@@ -119,11 +119,11 @@ To access directly from an Azure virtual machine scale set:
119119
1. From the list, select a VM.
120120
1. In the **Monitoring** section, select **Insights** to view the **Performance** tab.
121121

122-
This page loads the Azure Monitor performance view scoped to the selected scale set. This view enables you to see the top N instances in the scale set across the set of monitored metrics. You can also view the aggregate performance across the scale set. And you can see the trends for selected metrics across the individual instances in the scale set. Selecting an instance from the list view lets you load its map or move into a detailed performance view for that instance.
122+
This page loads the Azure Monitor performance view scoped to the selected scale set. This view enables you to see the Top N instances in the scale set across the set of monitored metrics. You can also view the aggregate performance across the scale set. And you can see the trends for selected metrics across the individual instances in the scale set. Selecting an instance from the list view lets you load its map or move into a detailed performance view for that instance.
123123

124124
Selecting the pushpin icon in the upper-right corner of a chart pins it to the last Azure dashboard you viewed. From the dashboard, you can resize and reposition the chart. Selecting the chart from the dashboard redirects you to VM insights and loads the performance detail view for the VM.
125125

126-
![Screenshot that shows VM insights Performance directly from virtual machine scale set view.](./media/vminsights-performance/vminsights-performance-directvmss-01.png)
126+
![Screenshot that shows VM insights Performance directly from the virtual machine scale set view.](./media/vminsights-performance/vminsights-performance-directvmss-01.png)
127127

128128
>[!NOTE]
129129
>You can also access a detailed performance view for a specific instance from the **Instances** view for your scale set. Under the **Settings** section, go to **Instances** and select **Insights**.

0 commit comments

Comments
 (0)