Question

Is it possible to configure Microsoft's Application Insights to monitor a Windows service?

I have a VM running in Azure on which the web service is hosted. Which version of the monitoring agent to I need to install and what steps need to be undertaken in order to allow monitoring data do be seen in the dashboard?

Was it helpful?

Solution

I'd also love to see this capability, but it seems from this MSDN page that it's not possible. I hope they expand the service's capabilities later on as it would be great to see a product on the level of AppDynamics or New Relic from MS.

Performance and exception monitoring with Application Insights

You can monitor performance in:

A .NET web service. You have to have administrative access to the server machine. You don’t have to alter the code of the web service.

A .NET service running as a web role on Microsoft Azure Cloud Services. You have to have access to the code. You run the Application Insights tool on your development machine, then rebuild and redeploy the service.

A Java web service. You download the agent to your server machine, update the configuration files, and restart your web service.

OTHER TIPS

Here is an Application Insights Telemetry SDK for services:

http://www.nuget.org/packages/Microsoft.ApplicationInsights.Telemetry.Services/0.7.1

It can be manually configured. Check this out - https://learn.microsoft.com/en-us/azure/application-insights/app-insights-windows-services

Basically, - create a ASP.NET app on the portal and obtain InstrumentationKey - Install the nuget package "Microsoft.ApplicationInsights.WindowsServer" - Add the InstrumentationKey in config file or code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top