Designing Alerts, Insights and Dashboards
This lesson explains how to choose alerts, insights and visualization tools for a workload.
Learning outcomes
After completing this lesson, you will be able to:
- Choose an alert type for a condition.
- Explain action groups and alert processing rules.
- Choose a monitoring insight or visualization tool.
- Distinguish Service Health, Resource Health and Azure Monitor.
Alerts and how to route them
An alert rule evaluates a condition and fires when the condition is met. The correct alert type depends on which data the condition uses.
Metric alerts
A metric alert evaluates a metric at frequent intervals and can use a static threshold or a dynamic threshold, which learns normal behaviour. Metric alerts are near real time and inexpensive, so they are the first choice for conditions such as high CPU usage.
Log search alerts
A log search alert runs a KQL query on a schedule. It suits conditions that need logic or correlation that a metric cannot express, such as more than five failed sign-ins from one address in ten minutes. It is more flexible but slower than a metric alert, and it costs more.
Activity log alerts
An activity log alert fires on a subscription event, such as the deletion of a resource. Activity log alerts also cover Service Health and Resource Health events, which makes them the mechanism for hearing about platform problems.
Prometheus alerts
Prometheus alert rules evaluate PromQL against an Azure Monitor workspace and are normally used for Kubernetes workloads.
An alert rule delivers its notification through an action group, a reusable list of notifications and automated actions such as an email, a webhook, a Logic Apps workflow or an Azure Function. Sharing one action group among rules avoids repeated configuration. Alert processing rules modify fired alerts: for instance, they suppress notifications during a planned maintenance window without disabling the rules themselves, or add an action group to every alert in a subscription.
Choose the alert type
Insights for specific workloads
Azure Monitor includes curated experiences, known as insights, that collect and present the most useful data for a type of resource, so that teams need not build everything themselves.
- Application Insights provides application performance monitoring, covering request rates, response times, failures, dependencies and distributed traces. New applications are instrumented through the OpenTelemetry-based Azure Monitor distribution, and the data is stored in a Log Analytics workspace.
- VM insights provides a prebuilt view of guest performance across virtual machines and depends on the Azure Monitor Agent.
- Container insights and managed Prometheus monitor Azure Kubernetes Service clusters, with logs going to a Log Analytics workspace and metrics to an Azure Monitor workspace.
- Network Insights provides a health view of network resources, while Network Watcher offers diagnostic tools such as connection monitoring and flow logs.
Application Insights is the correct recommendation whenever a question concerns the behaviour of code, such as finding which dependency slows a request. Infrastructure metrics cannot show this, because a healthy server can still host a slow transaction.
The following diagram shows how a slow checkout in an App Service web application is monitored: the request path and the three monitoring pieces.

Visualization
Several tools present monitoring data, and the differences mostly concern the audience. Azure workbooks combine text, queries and charts into interactive reports, which makes them well suited to investigation and to shared runbooks. Azure dashboards pin tiles to a shared view of an environment. Azure Managed Grafana provides Grafana as a managed service and is the natural choice for teams already using Grafana or Prometheus, or needing to combine several data sources. Power BI suits business reporting, where an audience outside operations needs long-term trends.
The following table summarizes which tool suits which audience, as scenarios usually describe the audience rather than the tool.
| Tool | Best for | Typical audience |
|---|---|---|
| Workbooks | Interactive analysis and guided troubleshooting | Operations and engineering teams |
| Azure dashboards | A shared view in the Azure portal | Operations teams |
| Azure Managed Grafana | Prometheus and multi-source dashboards | Site reliability and container teams |
| Power BI | Business reports and long-term trends | Managers and business stakeholders |
Who sees what
Platform health and security posture
Azure Monitor shows how a workload behaves, but a design must also account for the health of the Azure platform. Azure Service Health reports service issues, planned maintenance and health advisories that affect the subscriptions and regions in use. Resource Health reports whether a specific resource is currently available and whether a platform issue caused an outage. Both can trigger activity log alerts, so the correct people hear about an Azure outage without having to watch the public status page.
Monitoring should also be distinguished from security posture management. Microsoft Defender for Cloud assesses the security configuration of resources and detects threats to workloads. Azure Advisor offers recommendations for cost, security, reliability, operational excellence and performance. Neither of them replaces Azure Monitor: each answers a different question.
Which service answers it?
Monitoring a multi-tier application
A web application runs on App Service and calls Azure SQL Database and a third-party payment API. Customers report that checkout is sometimes slow, but CPU and memory charts look normal. The operations team needs to find the cause, and wants to be notified automatically if failures rise above their normal pattern. Azure platform incidents must be sent to the on-call team. What should you recommend?
Normal infrastructure charts with slow transactions indicate a problem that metrics on hosts cannot reveal. Application Insights provides distributed tracing, which shows time spent in the database and in the payment API for each request, and identifies the slow dependency.
Failures that rise above normal suggest a dynamic threshold metric alert, or Application Insights smart detection, rather than a fixed figure that would need constant tuning. Azure platform incidents are handled by a Service Health alert. Each sends to an action group that reaches the on-call team. Adding VM insights would not help, because App Service does not expose virtual machines to manage, and log search alerts alone would not reveal the slow dependency.
How can notifications be silenced during planned maintenance without editing each alert rule?
Show answer
With an alert processing rule, which suppresses notifications for a scope and period while the rules keep evaluating.
Exam Tips
Remember for the exam
- Metric alerts for fast thresholds; log search alerts for KQL logic; activity log alerts for control plane and health events.
- Action groups define who is told; alert processing rules suppress or add actions without editing the rules.
- Application Insights answers questions about code and dependencies.
- Service Health covers Azure platform incidents; Resource Health covers one resource.