Application Insights New Features in Visual Studio

The powerful tool specifically designed for detecting, triaging and diagnosing issues in your Web Services is referred as Application insights telemetry. The feature that helps in integrating Application Insights data into your editing and debugging workflows is Developer Analytics Tools. Now, it is the Service that drives the Web Services as it’s helpful to see the telemetry in the context of the request that triggered the exception, dependency call or custom event, as it is specifically applicable when telemetry is being used to diagnose an issue in your Web Service.
 
In Application Insights Search tool, Track Operation tab on each event exhibits other events that occurred during the same operation. Listing the events chronologically is possible as the Track Operation tab makes it easy to piece together what happened in your Service before a problem occurred. If you want to spot slow dependencies and improve the performance of your Service, Timelines and event duration data for each event can help. In order to find it easily, the slowest event in each operation is marked with a flame icon.
 
In CodeLens, request telemetry for each of your ASP.NET controller methods is now shown. One can see can see the number of requests in the last 24 hours along with the percentage of the failed requests with the help of CodeLens indicator. Not only this, one can experience the average response time for the request in addition to comparisons between the last 24 hours and the prior 24 hours for each request metric.
 
To spot production reliability and performance issues while you’re working in your codebase is like cakewalk, if you place a request telemetry right in your editor. To provide useful context while making changes, it is possible to view how often a method has been requested in the last 24 hours.
 
CodeLens is incredible that even if you haven’t connected your Application to the Application Insights Service in Azure, as it shows telemetry from local debug sessions. CodeLens indicators for exception and request telemetry from the most recent debug session are visible in ASP.NET projects with the Application Insights SDK. It gives you an opportunity to have request response times, exception data and more at your fingertips, when you stop debugging and edit your code.
 
 
To connect your application to the Application Insights service and enable production telemetry:
 
• Right-click your project in the Solution Explorer and choose Add Application Insights Telemetry…
 
• Follow the directions in the Application Insights Configuration window.
 
If you prefer, you can just add the Application Insights SDK to your application for debug session telemetry without connecting to the Application Insights service:
 
• Right-click your project in the Solution Explorer and choose Add Application Insights Telemetry…
 
• Follow the directions in the Application Insights Configuration Window.
 
• Look for a link to “Just add the SDK to try local-only mode.”