Question - Why is Azure Diagnostics API necessary?
Answer -
Azure Diagnostics API helps to gather diagnostic data, such as system event logs and performance monitoring, from applications operating on Azure. Azure Diagnostics has to be enabled for the cloud service roles. The collected data can be later used for creating visual chart representations that enable better monitoring and create performance metric alerts.