Zooming in on monitoring
Figure 3.4 is the same as the one we had in Chapter 2, Solution Architecture. In this section, we will explain a typical approach to monitoring Azure applications with native tools. The usage of Splunk, or any other third party, is beyond the scope of the book:

Figure 3.4 – Zooming in on monitoring
When an application is deployed to Azure, we must do the following:
- Monitor the application events. This can be achieved with Application Insights. Note that very recently, Microsoft launched workspace-based Application Insights, which in a nutshell couples Azure Application Insights and Log Analytics together.
- Monitor the Azure services, health. This can be achieved by redirecting diagnostic logs to Log Analytics.
- Define alerts on standard metrics or specific diagnostic log events.
Firstly, it is important to distinguish between logs and metrics. Log data can be used to perform root-cause analysis of a...