Azure Monitor Overview

Understand and analyze the performance and availability of your Azure resources and on-premises servers.

On this page

What is Azure Monitor?

Azure Monitor is a comprehensive solution for collecting, analyzing, and acting on telemetry from your cloud and on-premises environments. It helps you understand how your applications and services are performing and proactively identifies issues that affect them.

By leveraging Azure Monitor, you can gain deep insights into your system's health, detect anomalies, and respond to incidents quickly. It provides a unified view of your application's performance and availability, enabling you to optimize its operations and user experience.

Key Features

Components of Azure Monitor

Azure Monitor consists of two core components:

Metrics: Numeric values that describe some aspect of a system at a particular point in time. Metrics are lightweight and can support near real-time scenarios.
Logs: Records of events or data points that are structured or unstructured. Logs are collected at different points in time and are suitable for more complex analysis.

Metrics Explorer

Metrics Explorer is a tool within Azure Monitor that allows you to plot charts, visually correlate trends, and investigate spikes and dips in performance metrics. You can use it to diagnose issues and to understand how your resource is performing.

Log Analytics

Log Analytics is a tool that provides a powerful query language (Kusto Query Language - KQL) for analyzing log data. You can use it to identify patterns, detect anomalies, and troubleshoot complex problems across your entire environment.

Example KQL query to find the top 10 failing requests:

            requests
            | where success == false
            | summarize count() by operation_Name
            | top 10 by count_ desc
            
            

Application Insights

Application Insights is an extensible Application Performance Management (APM) service for web developers. Use it to monitor your live applications. It will automatically detect performance anomalies and can include sophisticated analysis tools to help you diagnose issues and to understand what users of your app are doing.

Alerts

Alert rules in Azure Monitor allow you to be proactively notified when Azure Monitor detects that a condition is met. You can define alert rules that are triggered by metrics, log queries, or events.

Common Use Cases

Getting Started with Azure Monitor

To start using Azure Monitor, you typically need to:

  1. Enable Monitoring: Ensure that telemetry is being collected from your Azure resources. This might involve configuring diagnostic settings for services or installing agents.
  2. Explore Metrics: Use Metrics Explorer to view performance data for your resources.
  3. Analyze Logs: Configure Log Analytics to ingest logs and start writing KQL queries.
  4. Set Up Alerts: Create alert rules to notify you of critical conditions.
  5. Configure Application Insights: Integrate Application Insights with your applications for detailed APM.

Explore the official Azure Monitor documentation for detailed guides and tutorials.