Application Insights – Part 2: Is Application Insights really that “Easy to Add”?

This series of blog posts will tell you everything you need to know about application insights.

Part 1: The Basics
Part 2: Is Application Insights really that “easy to add”?
Part 3: Is Application Insights really that “easy to use”?
Part 4: Application Monitoring with Application Insights
Part 5: Troubleshooting Failures with Application Insights
Part 6: Troubleshooting Performance Problems with Application Insights
Part 7: Availability Monitoring and Web-Testing with Application Insights
Part 8: Extending the Power of Application Insights with Glimpse and PowerBI

 

Part 2: Is Application Insights really that “easy to add”?

It turns out that the effort required to add Application Insights to your applications is really low. The first step is to go to the Azure Portal (http://portal.azure.com) and create a new Application Insights instance. As soon as the instance is up and running, it is time to add Application Insights to your application or the components of your application.

If your application is based on ASP.NET, adding instrumentation is a piece of cake. If you are starting with a new application, just go to File –> New Project, chose ASP.NET and set the checkmark to add Application Insights.

easytouse1_thumb1

If you are using an existing ASP.NET Project, just right-click the solution and select “Add Application Insights Telemetry”.

image_thumb[1]

This will open a dialog that lets you connect your application to an existing Application Insights instance or create a new one.

Any other application type can be instrumented by downloading the Application Insights package via the NuGet package manager.

easytouse2_thumb4

Non-.NET applications can be instrumented as well. Go to the GitHub repository and look for the appropriate SDK or, alternatively check your platforms package repository. The blog at http://www.manuelmeyer.net, for example, is hosted on WordPress, which is implemented in PHP. Adding instrumentation was as easy as checking the WordPress Plugin Gallery for an Application Insights plugin and installing it. Didn’t take more than a couple of minutes.

easytouse3_thumb1

So, to answer the question: Yes, it turned out really easy to add Application Insights to my application.

In the next post, we will explorer if it is “easy to use”:

Part 3: Is Application Insights really that “easy to use”?

Category:Business
PREVIOUS POST
Application Insights – Part 1: The Basics
NEXT POST
Application Insights – Part 3: Is Application Insights really that “Easy to Use”?

0 Comment

LEAVE A REPLY

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

15 49.0138 8.38624 1 0 4000 1 https://12qw.ch 300 0