Application Insights integration in Visual Studio

Application Insights has been around for a while now and after a while I was wondering if there was a integration within Visual Studio.

For the readers that do not know what Application Insights is a small description:

“Application Insights is an extensible analytics service that monitors your live application. It helps you detect and diagnose performance issues, and understand what users actually do with your app. It’s designed for developers, to help you continuously improve the performance and usability of your app.”

After doing a couple of Azure related projects that all use Application Insights, some kind of integration with Visual Studio would be great. The integration I knew was the integration within the context menu:

Context Menu

  • Open Application Insights: Opens the application insights screen within the Azure preview portal.
  • Configure Application Insights: Opens the application insights configuration screen within the Azure preview portal.
  • Search: Opens a integrated window within Visual Studio to search trough events within Application Insights.

Untill today I was only aware of the first two options maybe upgrade 1 of Visual Studio 2015 added the search functionality.

The update I received today made me wondering what the integration within Visual Studion 2015 is.

Update application insights

The “Search” option can also be found within the “View” menu under “Other Windows” and then “Application Insights Search”.

Other Windows - Application Insights Search

When the window opens it will try to make a connection to an Azure account and you will get the option to select an Application Insights application. After you made you choice your are able to search and select a specific time frame to search in.

The search results can be filterd by specific events:

  • Custom Event
  • Dependency
  • Exception
  • Page View
  • Request
  • Trace

When you perform the search it will give you a list of results.

Application Insights Search

On the left side of the screen you can further drill down into the results by the different properties the events contain. By selecting a specific event a detail view will be added in the window. This view will include all neccesary information regarding the event.

Application Insights Search with Detail

The details window will also include a lot of information about exceptions.

image

The information shown in the integration is really fantastic specially if you are looking for specific events. Another great point about this integration is that you do not require to switch windows when developing a application that is using application insights.

Related Posts

Azure Managed Service Identity and Local Development Instead of storing user credentials of an external system in a configuration file, you should store them in the Azure Key Vault. Before MSI (Managed S...
The securitydata Azure resource group Most of the times companies have rules in place for managing their Azure environment. The main rules that should be in place are “Azure Policies” and ...
Point to Site VPN Client won’t install To connect an Azure App Service to a on-premise database you can make use of different solutions. Two of those solutions are: Hybrid Connection ...
Invoke Azure Function in your Visual Studio Team Services CI/CD pipeline A utility task is available for Visual Studio Team Services (VSTS) to invoke an http triggered Azure function. The ability to invoke a Function from y...
VSTS Extension for Azure Role Based Access Control Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to add and remove role based access assignments in Az...
Listing Azure Services within a CSV file In some situations you will look into a current Azure Environment and the setup/governance of it and need to migrate or move resources around. The ...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.