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?
Yes. Choose the Core API (Microsoft. ApplicationInsights) if you only want to use the API to send your own telemetry. The Windows Server package automatically includes the Core API plus a number of other packages such as performance counter collection and dependency monitoring.
Enable monitoringSelect Application Insights in the Azure control panel for your app service, then select Enable. Choose to create a new resource, or select an existing Application Insights resource for this application. When you click OK to create the new resource you will be prompted to Apply monitoring settings.
The easiest way to get started consuming Application insights is through the Azure portal and the built-in visual experiences. Advanced users can query the underlying data directly to build custom visualizations through Azure Monitor Dashboards and Workbooks.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With