Create GitHub Issues for App Insights Telemetry from Visual Studio

Create GitHub Issues for App Insights Telemetry from Visual Studio

You can directly create GitHub Issues for App Insights Telemetry from Visual Studio. When you want issues to be raised in GitHub, you can configure for the same from Application Insights resources. Application Insights has a nice integration with Visual Studio Team Services and same goes for GitHub. My previous post talks about Quickly create VSTS Work Items for Application Insights Telemetry from Visual Studio. Working with GitHub for Application Insights also work in a similar way.

Create GitHub Issues for App Insights Telemetry

Before you start logging issues from Visual Studio or from the Application Insights Portal, you must make sure your Application Insights is linked with GitHub account. Very similar to Visual Studio Team Services.

From the Azure Portal, Open the respective Application Insights resources. Now select the “Work Items” option available under the Configure section. Select GitHub from the Tracking System drop-down, provide Git Repository URL and authorize Application Insight to access GitHub.

Create GitHub Issues for App Insights Telemetry from Visual Studio - Select Tracking System

 

Once the authorization is done, you can now log issues from Visual Studio.  Searching Application Insights Data Inside Visual Studio was available from Visual Studio Open an instance of Visual Studio, from the main menu, navigation to View –> Other Windows –> Search Applications Insights. This will bring the “Application Insights Search” window dialog. The search windows display all the recently logged telemetry details including Exception, Custom Event, Availability, Page View etc.  Select the corresponding log entry, for which you want to create a work item and select the “Create New Issue” button.

In the Application Insights New Issues window, you will have GitHub option along with Visual Studio Team Service. Select Github and create the issue.

Create GitHub Issues for App Insights Telemetry from Visual Studio - Create Issue

Click on OK to create the issues. Then, you can go and check the logged issue from the GitHub. Further, you can track and process it from here.

Create GitHub Issues for App Insights Telemetry from Visual Studio- Logged Error

 

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.