Azure Monitor
- Azure Monitor is priced based on the data ingestion and retention

- View
Metricsfor resources - CPU, disk, network, ...
Activity logs- Control plane activities
- When a VM is stopped or created
Log Analytics Workspace- Central solution for all your logs
Application Insights- Performance
- Management system for your live applications
Activity Logs
-
Log all activities that are happening in your Azure account
-
Activity types
-
Administrative: Create, update, delete resources operations Service Health: service health incidentsResource Health: resource health incidentsAlert: Activation of alertsAutoscale: autoscaling eventsRecommendation: recommendations from azure advisorSecurity: alerts from Azure Security Center-
Policy: alerts from Azure Policy -
Logs can be sent to:
Log AnalyticsStorage AccountEvent hubDownload (CSV)
Metrics
- View metrics of multiple resources
- Example metrics: Percentage CPU, Memory, Networking
Alerting
- Alerts can be set for
metricsoractivity logs - A
scope,conditionandactiondefine a alerting rule - Scope: resource to be monitored
- Condition: metrics threshold or administrative activity. E.g., CPU > 85% or when a VM is deleted
- Action: Set of instructions to trigger. E.g., playbook, email, sms, etc
- New
alert rulescan be created based on thequeryestablished under the log tab