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
## Deploy Profiler on a Virtual Machine or Scale set
28
-
This page will guide you through the steps needed to get Application Insights profiler running on your Azure VM or Azure virtual machine scale set. Application Insights Profiler is installed with the Windows Azure Diagnostics extension for VMs. You need to configure the extension to run the profiler and have the App Insights SDK built into your application to get profiles for your web apps running on a VM.
28
+
This page will guide you through the steps needed to get Application Insights profiler running on your Azure VM or Azure virtual machine scale set. Application Insights Profiler is installed with the Windows Azure Diagnostics extension for VMs. The extension needs to be configured to run the profiler and the App Insights SDK must be built into your application.
29
29
30
30
1. Add application Insights SDK to your [ASP.Net application](https://docs.microsoft.com/azure/application-insights/app-insights-asp-net) or regular [.NET Application.](https://docs.microsoft.com/azure/application-insights/app-insights-windows-services?toc=/azure/azure-monitor/toc.json) You must be sending request telemetry to Application Insights see profiles for your requests.
31
31
1. Install Windows Azure Diagnostics extension on your VM. For full Resource Manager template examples, see:
The key part is the ApplicationInsightsProfilerSink in the WadCfg. Add another sink to this section to tell WAD to enable the profiler to send data to your iKey.
1. Deploy the modified environment deployment definition.
35
52
36
-
To apply the modifications, usually involves a full template deployment or a cloud service based publish through PowerShell cmdlets or Visual Studio.
53
+
To apply the modifications, it usually involves a full template deployment or a cloud service based publish through PowerShell cmdlets or Visual Studio.
37
54
38
-
The following powershell commands are an alternate approach for existing virtual machines that touches only the Azure Diagnostics extension:
55
+
The following powershell commands are an alternate approach for existing virtual machines that touches only the Azure Diagnostics extension. You just need to add the ProfilerSink as noted above to the config that is returned by the Get-AzureRmVMDiagnosticsExtension command. Then pass the updated config to the Set-AzureRmVMDiagnosticsExcension command.
39
56
40
57
```powershell
41
58
$ConfigFilePath = [IO.Path]::GetTempFileName()
@@ -46,7 +63,7 @@ This page will guide you through the steps needed to get Application Insights pr
1. If the intended application is running through [IIS](https://www.microsoft.com/web/downloads/platform.aspx), enable the `IIS Http Tracing` Windows feature by doing the following:
66
+
1. If the intended application is running through [IIS](https://www.microsoft.com/web/downloads/platform.aspx), enable the `IIS Http Tracing` Windows feature.
50
67
51
68
a. Establish remote access to the environment, and then use the [Add Windows features]( https://docs.microsoft.com/iis/configuration/system.webserver/tracing/) window, or run the following command in PowerShell (as administrator):
52
69
@@ -62,7 +79,7 @@ This page will guide you through the steps needed to get Application Insights pr
62
79
1. Deploy your application.
63
80
64
81
## Can profiler run on on-premises servers?
65
-
We have no plans to support Applciation Insights Profiler for on-premises servers.
82
+
We have no plans to support Application Insights Profiler for on-premises servers.
0 commit comments