Monitoring the application with Application Insights
Monitoring the application is key to provide end users with a top-class experience. Application monitoring is needed to drive business return on investment and retain a competitive advantage in the current era of super-fast digital markets. The parameters we should be focusing on are page/API performance, most-used pages/APIs, application errors, and system health, among others. There should be alerts set up for when there is an anomaly in the system so that we can correct it and minimize the impact on our users.
You were already introduced to integrating Application Insights into an application and its key features in Chapter 7, Logging in .NET 5. Let's open Application Insights in the Azure portal and understand its different offerings. On the overview dashboard, along with the Azure subscription, location, and instrumentation key, we see key metrics as follows: