Read | Practice | Advance
In this article i will discuss regarding Application insight and how developer can integrate application insight in there web application easily.
Microsoft has provided application performance monitoring service to monitor Azure web application named Application Insights(AI). It is lightweight and extensible analytics platform which records the performance and usage of a live web applications. Preparing different reports from this records app developer can take decision about the direction of the design in each development life-cycle. Though it is Microsoft product it supports a wide variety of platforms including .NET, Node.js and J2EE, hosted on-premises or in the cloud.
To get analytical data regarding web application, it needs to integrate AI in web application. When developer integrate AI in web application than web application pushes different telemetry to azure application insight resource for analysis. Web can push data from three sources
Using Application Insights we can get idea how an app is performing and how it's being used. we can get following information from AI
There are several ways to integrate application insight in web application. I will show the easiest way.
Developer have to do following task integrate
We can create application insight resource in azure from two places
As it is application specific data so I will show how to create in application label so that we can monitor from both places.
NB:Here I consider you have created web application in azure.
2. Collect application insight resource information
From the above screen click on "view more in application insights". Following screen will show the different information's
To push server telemetry add the application insight SDK from NuGet.
You can collect this code from azure. Here you will also get code sample for c# push and custom matrices.