Designing Alerting, Dashboards and Incident Response: Action Groups, Alert Types, Workbooks and Runbooks
Alert Types
| Type | Use |
|---|---|
| Metric alert | Fast numeric conditions: CPU high, 5xx count, queue length |
| Log search alert | Complex KQL conditions: error spikes, missing heartbeats |
| Activity log alert | Control-plane events: resource deleted, role assigned |
| Service Health / Resource Health alert | Azure-side incidents and resource availability |
| Smart detection | Application Insights anomalies |
| Prometheus alerts | Kubernetes metrics |
Good Alert Design
- Alert on symptoms users feel (errors, latency), not every CPU blip
- Every alert needs an owner and an action. If nobody acts, remove it
- Use severity consistently: 0 or 1 pages a person, 3 or 4 creates a ticket
- Use dynamic thresholds for seasonal metrics
- Avoid alert fatigue with aggregation, suppression and alert processing rules for maintenance
Action Groups and Routing
| Action | Use |
|---|---|
| Email, SMS, voice, push | People |
| Webhook, ITSM connector | Ticketing and chat tools |
| Azure Function / Logic App | Custom logic, post to Teams |
| Automation runbook | Auto-remediation: restart a service, scale up |
| Event Hubs | Send to SIEM or external tools |
- Create action groups per team and severity, reusable across rules
- Use common alert schema so receivers parse one format
Dashboards
| Tool | Best for |
|---|---|
| Azure dashboards | Quick pinned tiles |
| Workbooks | Interactive reports mixing metrics, logs and text |
| Azure Managed Grafana | Teams that already use Grafana and Prometheus |
| Power BI | Business reports |
Auto-Remediation Examples
- Disk full alert runs a runbook that clears temp files
- Failed website probe restarts the app service
- Spot VM eviction notice starts a replacement
- Budget exceeded alert stops dev VMs
Careful Automatic actions need guard rails: limits, logging and the ability to turn them off.
Incident Response Flow
- Detect via alert
- Triage by severity and assign an owner
- Mitigate quickly (rollback, scale, failover)
- Communicate status to stakeholders
- Resolve and verify
- Review with a blameless post-incident report and fix root causes
Practice
- Write three alerts for an online store with severity and action group
- Design a maintenance suppression rule
- Choose a dashboard tool for executives and for engineers
Conclusion
Good alerting is symptom based, owned, routed through action groups and tuned to avoid fatigue. Use workbooks or Grafana for views and runbooks for safe automation, and learn from every incident.
Quick Summary: types; good alerts; routing; dashboards; automation; incident flow.

