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

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

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.

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

3 Comments to “Using CodeLens to display the Application Insights Exception Telemetry in Visual Studio”

Comments are closed.