...

/

Azure Application Insights KPIs

Azure Application Insights KPIs

Learn about the features of Azure Application Insights and how to configure metrics for the telemetry data.

Let’s go into detail about the features of Azure Application Insights: how to get insights of KPIskey performance indicators, and define a custom dashboard with metrics of data collected by the Azure Application Insights resource. In the “Overview” tab of Azure Application Insights, we can see some already-configured charts that contain failed requests, server response time, and server requests.

Press + to interact
Azure Application Insights requests
Azure Application Insights requests

Deep insights

Let’s say we have a web application with Angular as a client at the frontend and a .Net Core server at the backend. We can have separate code snippets for both to track telemetry dataTelemetry is the process of automatically collecting, analyzing, and using data that’s generated by applications, services, and devices. In Azure, telemetry data can be used to monitor the health and performance of applications and services. in the form of server requests and browser requests. Once we have the data generated, we can see the different metrics of data that has failures and performance with both divisions.

Note: We have to install an SDK for the client side. In this case, we might need to install the following dependency in our package.json file.

@microsoft/applicationinsights-web : "~2.4.4"

Once it’s installed, we need to load the Azure Application Insights function in a separate service file and then call its respective functions where we want to trace the logs. Additionally, we can call it in the main component. It will load the data automatically, and then we can call those functions.

In the illustration below, we’ve categorized these divisions, and we can have ...