Cloud service · Azure · Updated

Azure Monitor - Azure Monitor is Azure’s observability service for collecting, analyzing, and acting on telemetry from applications and infrastructure across cloud and hybrid environments.

In short

Azure Monitor brings together metrics, logs, traces, and events to help engineers detect failures, investigate performance problems, and monitor workload reliability. It includes Application Insights, infrastructure monitoring, managed Prometheus, dashboards, alerting, and integrations for automated operational responses.

Cloud Services Hub →

9 key features of Azure Monitor

01
Metrics collection and analysis

Analyze numerical signals such as CPU utilization, request counts, and latency using supported metrics tools. Apply dimensions and aggregations carefully so that an overloaded instance is not hidden by a healthy fleet average.

02
Centralized logs and KQL

Collect resource logs, operating system events, and custom records in Log Analytics workspaces. Use KQL to correlate failures, deployments, and infrastructure events within a defined time window.

03
Application Insights

Instrument applications to investigate requests, exceptions, dependency calls, and distributed transactions. Supported OpenTelemetry instrumentation enables correlation across service boundaries without relying solely on infrastructure metrics.

04
Managed Prometheus

Collect and store Prometheus metrics in an Azure Monitor workspace and analyze them with PromQL. Use it with Kubernetes monitoring and Grafana dashboards while controlling metric cardinality and unnecessary collection.

05
Configurable data collection

Use Azure Monitor Agent, data collection rules, diagnostic settings, and ingestion APIs according to the telemetry source. Apply supported transformations to filter or reshape records before storage.

06
Alerts and action groups

Define metric, log search, and Activity Log alerts, then route notifications or automated actions through action groups. Configure evaluation windows, severity, and suppression deliberately to avoid paging on brief or expected conditions.

07
Workbooks and operational dashboards

Combine metrics, log queries, parameters, and explanatory text in Azure Monitor Workbooks. Create workload views that let responders move from a service symptom to the relevant resource and diagnostic query.

08
Workload health models

Define workload health by aggregating signals from metrics, logs, and dependencies. Use the resulting health state to give responders workload context rather than requiring them to interpret isolated resource alerts.

09
Metrics-based and scheduled autoscale

Configure scaling rules for supported resource types using load signals, schedules, or both. Set capacity bounds and cooldown periods to prevent unnecessary scaling or repeated oscillation.

Where Azure Monitor is used

  1. 01
    Investigate application latency and failures

    Use Application Insights to identify slow requests and failing dependencies, then correlate the incident window with resource metrics and logs. For example, distinguish database dependency latency from CPU saturation in the application tier.

  2. 02
    Operate Kubernetes workloads

    Combine managed Prometheus metrics with container logs to investigate pod restarts, resource pressure, and service errors. Use separate metric and log collection settings to retain useful troubleshooting data without collecting every available signal.

  3. 03
    Monitor hybrid server estates

    Use Azure Arc-enabled servers and Azure Monitor Agent to collect selected Windows events, Syslog, and performance counters from non-Azure machines. Standardize collection rules and alerting across Azure and on-premises servers.

  4. 04
    Detect and respond to production incidents

    Alert on user-facing symptoms such as sustained request failures or availability test failures and route them to the responsible team. Attach diagnostic context and invoke a controlled remediation workflow when the failure has a known, safe response.

  5. 05
    Plan capacity and tune resource allocation

    Analyze utilization trends alongside application throughput to identify constrained or overprovisioned resources. Use representative peak periods to validate scaling thresholds rather than sizing from daily averages alone.

  6. 06
    Retain operational and audit evidence

    Route relevant Activity Log events and resource logs to appropriate destinations for investigation and retention. Select table plans and retention periods according to access requirements, recognizing that lower-cost plans have different query and feature capabilities.

How Azure Monitor is priced

Consumption-based log ingestion

Azure Monitor Logs generally charges for billable data ingested, with pricing and capabilities determined by the table plan. Analytics, Basic, and Auxiliary plans serve different access patterns; validate table eligibility, query charges, and alerting support before selecting a plan.

Log ingestion commitment tiers

Eligible Log Analytics workloads can use commitment tiers that exchange a daily ingestion commitment for a lower effective rate. Size the commitment from measured usage and review minimum commitment periods and charges for ingestion above the committed amount.

Retention, queries, and data access

Retention beyond included allowances can incur charges, and some table plans charge for data scanned by queries. Long-term retention access, search jobs, and data export can introduce additional charges depending on the configuration.

Metrics and managed Prometheus

Standard platform metric collection is generally included, while additional metric capabilities and APIs can have separate charges. Managed Prometheus pricing includes ingestion and query usage; high-cardinality labels and frequent broad queries can increase consumption.

Alerting, notifications, and availability tests

Alert charges depend on the alert type and billing dimensions such as monitored time series or evaluation frequency. Some notification channels and Application Insights availability tests are charged separately, while invoked services such as Logic Apps have their own billing.

Services Azure Monitor works with

A common architecture separates application instrumentation, infrastructure collection, and downstream consumption. App Service applications send request and dependency telemetry through Application Insights, while AKS sends Prometheus metrics to an Azure Monitor workspace and selected container logs to Log Analytics. Azure Arc extends guest operating system collection to supported servers outside Azure. Use consistent resource identifiers, timestamps, and trace context where applicable to make investigation across these signals practical.

Visualization and response sit above the collection layer. Azure Managed Grafana provides shared dashboards across supported Azure Monitor data sources, while workbooks support Azure portal-based investigation. Alerts invoke action groups, which can start Logic Apps workflows for ticket creation, notifications, or approval-controlled remediation. Assign each integration only the permissions it needs and test failure handling before enabling production automation.

For external analytics or security systems, route supported resource logs through Event Hubs. This streaming path complements rather than replaces operational querying in Log Analytics. Plan destination access, regional requirements, buffering, and downstream consumer capacity, and account for charges from both monitoring and integrated services.

Azure Kubernetes Service (AKS)

Connect AKS to managed Prometheus for metrics and Container Insights for container monitoring and logs. For example, investigate a rise in HTTP failures by comparing workload metrics with pod restarts and container logs. Configure collection intervals, log filtering, and metric labels to control ingestion volume.

App Service

Combine App Service platform metrics and diagnostic logs with Application Insights telemetry from the hosted application. For example, correlate increased response time with dependency failures and App Service plan resource pressure. Application instrumentation is still required for request-level detail beyond platform monitoring.

Azure Arc

Use Azure Arc-enabled servers to manage Azure Monitor Agent deployment and collection configuration on supported non-Azure machines. For example, collect Linux Syslog and performance counters from on-premises servers into a designated Log Analytics workspace. Ensure the machines can reach the required Arc and monitoring endpoints.

Azure Managed Grafana

Use Azure Managed Grafana to visualize Azure Monitor metrics, logs, and managed Prometheus data through supported data sources. For example, build a dashboard that displays Kubernetes saturation alongside application failure rates. Grant the Grafana identity the required read permissions on each data source.

Logic Apps

Invoke a Logic Apps workflow from an Azure Monitor action group to coordinate incident handling. For example, an alert can start a workflow that creates a ticket, posts diagnostic context, and requests approval before remediation. Use the common alert schema where supported and make the workflow safe to retry.

Event Hubs

Stream supported Azure resource logs through diagnostic settings to Event Hubs for downstream processing. For example, forward operational logs to an external SIEM while retaining selected logs in Log Analytics for engineering investigations. Size Event Hubs capacity and retention for expected throughput and consumer outages.

API Management

Azure Monitor collects gateway metrics and can route gateway logs to Log Analytics. It can also collect request and dependency traces through the gateway's Application Insights integration, making it easier to distinguish policy failures from backend timeouts.

Artifact Signing

Azure Monitor can receive Artifact Signing diagnostic logs through diagnostic settings. Send signing records to Log Analytics to investigate unexpected signing activity on a certificate profile.

Automation

Azure Monitor action groups can start Automation runbooks when alerts fire. Azure Monitor can also collect Automation job status and output streams in Log Analytics so operators can verify what a runbook did.

Azure Advisor

Azure Monitor Workbooks powers Advisor's interactive recommendation reports. Advisor also evaluates supported Log Analytics workspace configurations and recommends changes that can reduce monitoring costs.

Alternatives to Azure Monitor in other clouds

AWS

Amazon OpenSearch ServiceAmazon OpenSearch Service

Amazon OpenSearch Service and Azure Monitor’s Log Analytics both centralize and analyze operational logs. OpenSearch supports SQL and charges for compute time and storage, while Log Analytics uses KQL and generally charges for log ingestion according to the table plan.

Compare fact by fact
Azure MonitorAmazon OpenSearch Service
Main billing basisLog ingestion by table planNode or OCU hours, plus storage
Query languageKusto Query Language (KQL)SQL supported
Discount commitmentDaily log ingestion volumeInstance type or hourly spend
AWS X-RayAWS X-Ray

AWS X-Ray and Azure Monitor’s Application Insights trace requests across distributed applications to diagnose latency and failures. X-Ray bills by trace activity and retains traces for a fixed 30 days, while Application Insights uses Log Analytics data ingestion billing and configurable retention.

Compare fact by fact
Azure MonitorAWS X-Ray
Billed forData ingested; scans on some plansTraces recorded, retrieved or scanned
Trace retentionConfigurable in Log Analytics30 days, fixed
Trace queriesKusto Query Language (KQL)X-Ray filter expressions
Compared Nov 2026
AWS Auto ScalingAWS Auto Scaling

AWS Auto Scaling and Azure Monitor’s autoscale feature both adjust capacity for supported resources based on metrics and let teams set minimum and maximum capacity. AWS Auto Scaling can forecast demand and schedule EC2 capacity changes ahead of time, while Azure Monitor autoscale can follow configured schedules, metric rules, or both.

Compare fact by fact
Azure MonitorAWS Auto Scaling
Scaling ahead of demandUser-configured schedulesForecast-based scheduling for EC2

What is Azure Monitor

2 min read

Azure Monitor provides a shared monitoring platform for Azure resources, applications, Kubernetes clusters, and hybrid infrastructure. Engineers use it to investigate failures, track performance, understand dependencies, and trigger operational responses. Effective implementations combine infrastructure signals with application telemetry rather than relying on resource utilization alone.

Collection depends on the source. Many Azure platform metrics are collected automatically, while resource logs generally require diagnostic settings or a service-specific collection configuration. Diagnostic settings can route supported logs to Log Analytics, Event Hubs, or Storage. Guest operating system events and performance counters require additional collection, typically through Azure Monitor Agent and data collection rules. Custom applications can send telemetry through supported OpenTelemetry instrumentation or ingestion APIs.

The storage and query architecture matters when designing monitoring. Log Analytics workspaces store logs and application telemetry queried with Kusto Query Language, or KQL. Azure Monitor workspaces are separate resources used for Prometheus and supported OpenTelemetry metrics queried with PromQL. Azure platform metrics also have their own metrics capabilities. These stores are not interchangeable, so select collection destinations and query tools according to the signal and operational requirement.

Application Insights provides application performance monitoring, including request timings, failures, dependency calls, and distributed transaction investigation. Configure instrumentation and trace-context propagation across service boundaries so that an engineer can follow a failed request through downstream services. Review sampling and telemetry filtering carefully: reducing volume can lower costs, but excessive filtering can remove evidence needed during an incident.

Use metric alerts for numerical conditions such as sustained CPU pressure or elevated error rates, and log search alerts for conditions expressed through queries. Action groups deliver notifications or invoke integrations such as Logic Apps and Automation runbooks. Dynamic thresholds can help detect deviations from established metric patterns, but alert rules still need meaningful scopes, evaluation windows, ownership, and tested response procedures. Health Models can aggregate metrics, logs, and dependency signals into a workload health state.

Workbooks and Grafana dashboards support operational views across applications and infrastructure. Build dashboards around workload symptoms, such as request latency and failure rate, then provide paths into supporting logs and resource metrics. For supported resource types, autoscale can adjust capacity using metrics, schedules, or both; it does not automatically scale every resource monitored by the service.

Plan access control, network connectivity, retention, and cost management before broad deployment. Use Azure role-based access control to restrict telemetry access, and assess private connectivity requirements for supported ingestion and query paths. Choose log table plans according to query and alerting requirements, apply supported ingestion transformations, and monitor ingestion volume. Deploy collection rules, diagnostic settings, alerts, and workbooks through infrastructure as code to keep environments consistent.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.