Using CodeLens to display the Application Insights Exception Telemetry in Visual Studio

By | July 4, 2016

You can now leverage the CodeLens to display the Exception telemetry inside Visual Studio. Application Insights Exception details now can be accessible and display via CodeLens in Visual Studio. As long as you are connected with Application Insights, the CodeLens exception indicator will display the count of exception and details for each method over the past 24 hrs.

When there is no exception, it will show count as 0 along with time elapsed from the last request time to get the exception details (Queried <timespan> ago ).

Using CodeLens to display the Application Insights Exception Telemetry

Exception details will be displayed as  the red color Application Insights exception indicators.  Tooltip window also categorized the type of exception and display the count of each of category.

Using CodeLens to display the Application Insights Exception Telemetry

We can find the details of exception or tread either by each category or all of them together.

Related Post :  Different ways to launch the Application Insights Search Window in Visual Studio

Using CodeLens to display the Application Insights Exception Telemetry

Following images shows the trends of all exception using “Application Insights Trends” tool.

 

Must Read  : Explore Telemetry Trends using Application Insights Trends Tool in Visual Studio

 

Explore Telemetry Trends using Application Insights Trends Tool in Visual Studio

All in all this is very useful and quick access to your exception information.

Hope this helps.

3 thoughts on “Using CodeLens to display the Application Insights Exception Telemetry in Visual Studio

  1. Pingback: Turning On/Off Application Insights Exception display for CodeLens in Visual Studio

  2. Pingback: Compelling Sunday – 19 Posts on Programming and QA

  3. Pingback: Visual Studio – Developer Top Ten for July 12th, 2016 - Dmitry Lyalin

Comments are closed.