Skip to content

Commit 8a47c65

Browse files
authored
Merge pull request #230525 from paulth1/virtual-machines-batch-3
[AQ] edit pass: Virtual machines batch 3
2 parents 18f7a46 + 4dd6263 commit 8a47c65

File tree

4 files changed

+198
-192
lines changed

4 files changed

+198
-192
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.

0 commit comments

Comments
 (0)