Azure Monitor Metrics and Alerts
Collect platform metrics for VMs and App Service, configure static and dynamic threshold alerts, and route alert notifications to action groups via email and webhook.
What Is Azure Monitor?
Azure Monitor is the unified observability platform for all Azure resources. It collects metrics (numerical time-series data) and logs (structured records of events) from every service you deploy. Without Azure Monitor you would be operating blind — unable to detect performance degradation or capacity issues before they affect users.
Understanding Platform Metrics
Platform metrics are automatically collected for every Azure resource at no extra cost. For a virtual machine, Azure Monitor captures Percentage CPU, Network In, Network Out, Disk Read Bytes, and many more. These metrics are stored at one-minute granularity for 93 days in the metrics store. No agent or configuration is required to start seeing them.
# View available metrics for a VM via Azure CLI
az monitor metrics list-definitions \
--resource /subscriptions/<sub-id>/resourceGroups/<rg>/providers/Microsoft.Compute/virtualMachines/<vm-name> \
--output tableAll lessons in this course
- Azure Monitor Metrics and Alerts
- Log Analytics and KQL Fundamentals
- Application Insights
- Azure Dashboards and Workbooks