Implementing logging used by Azure Monitor
Azure Monitor is the service we use to monitor infrastructure, services, and applications. Azure Monitor records two types of data: metrics and logs. Metrics are numerical values that describe an entity or an aspect of a system at different instances of time—for example, the number of gigabytes (GBs) of data stored in a storage account at any point in time, the current number of active pipelines in ADF, and so on. Metrics are stored in time-series databases and can be easily aggregated for alerting, reporting, and auditing purposes.
Logs, on the other hand, are usually text details of what is happening in the system. Unlike metrics, which are recorded at regular intervals, logs are usually event-driven. For example, a user logging in to a system, a web app receiving a REpresentational State Transfer (REST) request, and triggering a pipeline in ADF could all generate logs.
Since Azure Monitor is an independent service, it can aggregate...