You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/azure-vm-vmss-apps.md
+41-23Lines changed: 41 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,30 +7,35 @@ author: mrbullwinkle
7
7
manager: carmonm
8
8
ms.service: application-insights
9
9
ms.topic: conceptual
10
-
ms.date: 06/27/2019
10
+
ms.date: 08/26/2019
11
11
ms.author: mbullwin
12
12
13
13
---
14
-
# Monitor application performance hosted on Azure VM and Azure virtual machine scale sets
14
+
# Deploy the Azure Monitor Application Insights Agent on Azure virtual machines and Azure virtual machine scale sets
15
15
16
-
Enabling monitoring on your .NET based web applications running on [Azure Virtual Machines](https://azure.microsoft.com/services/virtual-machines/) and [Azure Virtual Machine Scale Sets](https://docs.microsoft.com/azure/virtual-machine-scale-sets/) is now easier than ever. Get all the benefits of using Application Insights without modifying your code.
16
+
Enabling monitoring on your .NET based web applications running on [Azure virtual machines](https://azure.microsoft.com/services/virtual-machines/) and [Azure virtual machine scale sets](https://docs.microsoft.com/azure/virtual-machine-scale-sets/) is now easier than ever. Get all the benefits of using Application Insights without modifying your code.
17
17
18
-
This article will walk you through enabling Application Insights monitoring using the ApplicationMonitoringWindows extension and provide preliminary guidance for automating the process for large-scale deployments.
18
+
This article walks you through enabling Application Insights monitoring using the Application Insights Agent and provides preliminary guidance for automating the process for large-scale deployments.
19
19
20
20
> [!IMPORTANT]
21
-
> Azure ApplicationMonitoringWindows extension is currently in public preview.
21
+
> Azure Application Insights Agent for .NET is currently in public preview.
22
22
> This preview version is provided without a service-level agreement, and we don't recommend it for production workloads. Some features might not be supported, and some might have constrained capabilities.
23
23
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
24
24
25
25
## Enable Application Insights
26
26
27
-
There are two ways to enable application monitoring for Azure VM and Azure virtual machine scale set hosted applications:
27
+
There are two ways to enable application monitoring for Azure virtual machines and Azure virtual machine scale sets hosted applications:
* This method is the easiest to enable, and no advanced configuration is required. It is often referred to as "runtime" monitoring. For Azure VMs and Azure virtual machine scale sets we recommend at a minimum enabling this level of monitoring. After that, based on your specific scenario, you can evaluate whether manual instrumentation is needed.
31
-
* Currently only .Net IIS-hosted applications are supported.
29
+
***Codeless** via Application Insights Agent
30
+
* This method is the easiest to enable, and no advanced configuration is required. It is often referred to as "runtime" monitoring.
32
31
33
-
***Manually instrumenting the application through code** by installing the Application Insights SDK.
32
+
* For Azure virtual machines and Azure virtual machine scale sets we recommend at a minimum enabling this level of monitoring. After that, based on your specific scenario, you can evaluate whether manual instrumentation is needed.
33
+
34
+
* The Application Insights Agent auto-collects the same dependency signals out-of-the-box as the .NET SDK. See [Dependency auto-collection](https://docs.microsoft.com/azure/azure-monitor/app/auto-collect-dependencies#net) to learn more.
35
+
> [!NOTE]
36
+
> Currently only .Net IIS-hosted applications are supported. Use an SDK to instrument ASP.NET Core, Java, and Node.js applications hosted on an Azure virtual machines and virtual machine scale sets.
37
+
38
+
***Code-based** via SDK
34
39
35
40
* This approach is much more customizable, but it requires [adding a dependency on the Application Insights SDK NuGet packages](https://docs.microsoft.com/azure/azure-monitor/app/asp-net). This method, also means you have to manage the updates to the latest version of the packages yourself.
36
41
@@ -39,9 +44,15 @@ There are two ways to enable application monitoring for Azure VM and Azure virtu
39
44
> [!NOTE]
40
45
> If both agent based monitoring and manual SDK based instrumentation is detected only the manual instrumentation settings will be honored. This is to prevent duplicate data from being sent. To learn more about this check out the [troubleshooting section](#troubleshooting) below.
41
46
42
-
## Manage agent-based monitoring for .NET applications on VM using PowerShell
47
+
## Manage Application Insights Agent for .NET applications on Azure virtual machines using PowerShell
48
+
49
+
> [!NOTE]
50
+
> Before installing the Application Insights Agent, you'll need an instrumentation key. [Create a new Application Insights Resource](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource) or copy the instrumentation key from an existing application insights resource.
51
+
52
+
> [!NOTE]
53
+
> New to powershell? Check out the [Get Started Guide](https://docs.microsoft.com/powershell/azure/get-started-azureps?view=azps-2.5.0).
43
54
44
-
Install or update the application monitoring extension for VM
55
+
Install or update the Application Insights Agent as an extension for Azure virtual machines
You may also view installed extensions in the [Azure virtual machine blade](https://docs.microsoft.com/azure/virtual-machines/extensions/overview) in the Portal.
103
+
104
+
> [!NOTE]
105
+
> Verify installation by clicking on Live Metrics Stream within the Application Insights Resource associated with the instrumentation key you used to deploy the Application Insights Agent Extension. If you are sending data from multiple Virtual Machines, select the target Azure virtual machines under Server Name. It may take up to a minute for data to begin flowing.
88
106
89
-
## Manage agent-based monitoring for .NET applications on Azure virtual machine scale set using powershell
107
+
## Manage Application Insights Agent for .NET applications on Azure virtual machine scale sets using powershell
90
108
91
-
Install or update the application monitoring extension for Azure virtual machine scale set
109
+
Install or update the Application Insights Agent as an extension for Azure virtual machine scale set
Below is our step-by-step troubleshooting guide for extension-based monitoring for .NET applications running on Azure VM and Azure virtual machine scale sets.
167
+
Find troubleshooting tips for Application Insights Monitoring Agent Extension for .NET applications running on Azure virtual machines and virtual machine scale sets.
150
168
151
169
> [!NOTE]
152
-
> .NET Core, Java, and Node.js applications are only supported on Azure VM and Azure virtual machine scale sets via manual SDK based instrumentation and therefore the steps below do not apply to these scenarios.
170
+
> .NET Core, Java, and Node.js applications are only supported on Azure virtual machines and Azure virtual machine scale sets via manual SDK based instrumentation and therefore the steps below do not apply to these scenarios.
153
171
154
172
Extension execution output is logged to files found in the following directories:
# Instrument web apps at runtime with Application Insights Codeless Attach
17
17
18
+
> [!IMPORTANT]
19
+
> Status Monitor is no longer recommended for use. It has been replaced by the Azure Monitor Application Insights Agent (formerly named Status Monitor v2). See our documentation for [on-premises server deployments](https://docs.microsoft.com/azure/azure-monitor/app/status-monitor-v2-overview) or [Azure virtual machine and virtual machine scale set deployments](https://docs.microsoft.com/azure/azure-monitor/app/azure-vm-vmss-apps).
20
+
18
21
You can instrument a live web app with Azure Application Insights, without having to modify or redeploy your code. You need a [Microsoft Azure](https://azure.com) subscription.
19
22
20
23
Status Monitor is used to instrument a .NET application hosted in IIS either on-premises or in a VM.
@@ -33,7 +36,7 @@ You have a choice of two routes to apply Application Insights to your .NET web a
33
36
***Run time:** Instrument your web app on the server, as described below, without rebuilding and redeploying the code.
34
37
35
38
> [!NOTE]
36
-
> If you use build time instrumentation, run time instrumention will not work even if it is turned on.
39
+
> If you use build time instrumentation, run time instrumentation will not work even if it is turned on.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/status-monitor-v2-api-disable-instrumentation-engine.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Azure Status Monitor v2 API reference: Disable instrumentation engine | Microsoft Docs"
3
-
description: Status Monitor v2 API reference. Disable-InstrumentationEngine. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
2
+
title: "Azure Application Insights Agent API reference: Disable instrumentation engine | Microsoft Docs"
3
+
description: Application Insights Agent API reference. Disable-InstrumentationEngine. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
4
4
services: application-insights
5
5
documentationcenter: .net
6
6
author: TimothyMothra
@@ -13,7 +13,7 @@ ms.topic: conceptual
13
13
ms.date: 04/23/2019
14
14
ms.author: tilee
15
15
---
16
-
# Status Monitor v2 API: Disable-InstrumentationEngine
This article describes a cmdlet that's a member of the [Az.ApplicationMonitor PowerShell module](https://www.powershellgallery.com/packages/Az.ApplicationMonitor/).
19
19
@@ -51,5 +51,5 @@ Configuring registry for instrumentation engine...
51
51
52
52
## Next steps
53
53
54
-
Do more with Status Monitor v2:
55
-
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Status Monitor v2.
54
+
Do more with Application Insights Agent:
55
+
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Application Insights Agent.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/status-monitor-v2-api-disable-monitoring.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Azure Status Monitor v2 API reference: Disable monitoring | Microsoft Docs"
3
-
description: Status Monitor v2 API reference. Disable-ApplicationInsightsMonitoring. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
2
+
title: "Azure Application Insights Agent API reference: Disable monitoring | Microsoft Docs"
3
+
description: Application Insights Agent API reference. Disable-ApplicationInsightsMonitoring. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
4
4
services: application-insights
5
5
documentationcenter: .net
6
6
author: TimothyMothra
@@ -13,7 +13,7 @@ ms.topic: conceptual
13
13
ms.date: 04/23/2019
14
14
ms.author: tilee
15
15
---
16
-
# Status Monitor v2 API: Disable-ApplicationInsightsMonitoring
This article describes a cmdlet that's a member of the [Az.ApplicationMonitor PowerShell module](https://www.powershellgallery.com/packages/Az.ApplicationMonitor/).
19
19
@@ -65,5 +65,5 @@ Successfully disabled Application Insights Status Monitor
65
65
66
66
## Next steps
67
67
68
-
Do more with Status Monitor v2:
69
-
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Status Monitor v2.
68
+
Do more with Application Insights Agent:
69
+
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Application Insights Agent.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/status-monitor-v2-api-enable-instrumentation-engine.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Azure Status Monitor v2 API reference: Enable instrumentation engine | Microsoft Docs"
3
-
description: Status Monitor v2 API reference. Enable-InstrumentationEngine. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
2
+
title: "Azure Application Insights Agent API reference: Enable instrumentation engine | Microsoft Docs"
3
+
description: Application Insights Agent API reference. Enable-InstrumentationEngine. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
4
4
services: application-insights
5
5
documentationcenter: .net
6
6
author: TimothyMothra
@@ -13,7 +13,7 @@ ms.topic: conceptual
13
13
ms.date: 04/23/2019
14
14
ms.author: tilee
15
15
---
16
-
# Status Monitor v2 API: Enable-InstrumentationEngine
This article describes a cmdlet that's a member of the [Az.ApplicationMonitor PowerShell module](https://www.powershellgallery.com/packages/Az.ApplicationMonitor/).
19
19
@@ -73,7 +73,7 @@ Configuring registry for instrumentation engine...
73
73
-[Add web client telemetry](../../azure-monitor/app/javascript.md) to see exceptions from web page code and to enable trace calls.
74
74
-[Add the Application Insights SDK to your code](../../azure-monitor/app/asp-net.md) so you can insert trace and log calls.
75
75
76
-
Do more with Status Monitor v2:
77
-
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Status Monitor v2.
76
+
Do more with Application Insights Agent:
77
+
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Application Insights Agent.
78
78
-[Get the config](status-monitor-v2-api-get-config.md) to confirm that your settings were recorded correctly.
79
79
-[Get the status](status-monitor-v2-api-get-status.md) to inspect monitoring.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/status-monitor-v2-api-enable-monitoring.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "Azure Status Monitor v2 API reference: Enable monitoring | Microsoft Docs"
3
-
description: Status Monitor v2 API reference. Enable-ApplicationInsightsMonitoring. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
2
+
title: "Azure Application Insights Agent API reference: Enable monitoring | Microsoft Docs"
3
+
description: Application Insights Agent API reference. Enable-ApplicationInsightsMonitoring. Monitor website performance without redeploying the website. Works with ASP.NET web apps hosted on-premises, in VMs, or on Azure.
4
4
services: application-insights
5
5
documentationcenter: .net
6
6
author: TimothyMothra
@@ -13,7 +13,7 @@ ms.topic: conceptual
13
13
ms.date: 04/23/2019
14
14
ms.author: tilee
15
15
---
16
-
# Status Monitor v2 API: Enable-ApplicationInsightsMonitoring
This article describes a cmdlet that's a member of the [Az.ApplicationMonitor PowerShell module](https://www.powershellgallery.com/packages/Az.ApplicationMonitor/).
19
19
@@ -159,7 +159,7 @@ Successfully enabled Application Insights Status Monitor
159
159
-[Add web client telemetry](../../azure-monitor/app/javascript.md) to see exceptions from web page code and to enable trace calls.
160
160
-[Add the Application Insights SDK to your code](../../azure-monitor/app/asp-net.md) so you can insert trace and log calls.
161
161
162
-
Do more with Status Monitor v2:
163
-
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Status Monitor v2.
162
+
Do more with Application Insights Agent:
163
+
- Use our guide to [troubleshoot](status-monitor-v2-troubleshoot.md)Application Insights Agent.
164
164
-[Get the config](status-monitor-v2-api-get-config.md) to confirm that your settings were recorded correctly.
165
165
-[Get the status](status-monitor-v2-api-get-status.md) to inspect monitoring.
0 commit comments