L17. Configuring DevOps Monitoring: Azure Monitor, Application Insights & GitHub Insights
Course outlineLesson 17 of 18
Application Insights, VM Insights, and Container Insights are each tuned to what actually matters for that resource type, and GitHub Insights covers repository-level activity Azure Monitor never sees.
Azure Monitor: The Umbrella Platform
Azure Monitor is Microsoft's unified observability platform for Azure resources. It brings together metrics, logs, traces, and events. Two core telemetry types are metrics (numerical measurements over time, like CPU utilization) and logs (detailed events and traces stored in a Log Analytics workspace). Queries against these logs use Kusto Query Language (KQL), a powerful tool we cover in the next lesson.Azure Monitor's value lies in its integration with DevOps tooling. Configure an alert action group to call a Logic App, Function, or webhook for routing notifications or creating work items. For YAML deployments, use the Query Azure Monitor alerts resource check; Classic releases use deployment gates. These integrations must be configured explicitly. This closes the loop between observability and incident response.
Application Insights: APM for Your Code
Application Insights is Azure Monitor's application performance monitoring (APM) component. Instrument supported applications with Azure Monitor OpenTelemetry distributions or supported SDKs and autoinstrumentation, according to the language and hosting platform. It tracks:- Request rates and response times (how fast is your app?)
- Failure rates and exception stack traces (what is breaking?)
- Dependency call performance (is the database slow?)
- User behavior and custom events (what are users actually doing?)
Unlike infrastructure monitoring (which watches CPU and memory), Application Insights watches your code's behavior from the user's perspective. The exam tests recognizing that Application Insights is the purpose-built tool for application-level telemetry, not VM Insights or generic log queries.
Pre-Built Insights: Purpose-Built for Each Resource Type
Azure Monitor offers several pre-built "insights" experiences tailored to specific resource types:
| Insight Type | What It Monitors | Why It Matters |
|---|---|---|
| VM Insights | Guest CPU, memory, disk, and network performance | Diagnose whether infrastructure limits are causing performance issues |
| Container Insights | Kubernetes cluster health, pod resources, container logs | Monitor containerized applications without hand-building every dashboard |
| Storage insights | Latency, throughput, request patterns | Understand storage performance and capacity trends |
| Network insights | Connection health, packet loss, latency | Diagnose network connectivity and throughput issues |
GitHub Insights: Repository and Workflow Analytics
GitHub Insights provides built-in repository analytics independent of Azure Monitor. It tracks pulse (activity overview), contributors (who is committing?), traffic (page views and clones), commits (commit frequency), and code frequency (lines changed per week). For GitHub Actions, inspect workflow run history and job logs in the Actions tab to investigate failures and execution time. Repository Insights and workflow execution evidence answer different questions.Scoping Telemetry Collection
The exam emphasizes a key principle: deliberately scope telemetry collection per resource type rather than maximizing collection everywhere. Indiscriminately turning on every possible metric and log increases Log Analytics ingestion cost and alert noise without necessarily improving detection quality. A mature monitoring strategy selects what to collect based on each resource's operational needs.
References
- AZ-400 skills outline
- Azure Monitor overview - Azure Monitor
- Application Insights OpenTelemetry observability overview - Azure Monitor
- Monitor virtual machines in Azure - Azure Monitor
- VM Insights Map deprecation and retirement
- Pipeline deployment approvals - Azure Pipelines
- Create and manage action groups in Azure Monitor - Azure Monitor
- Using Pulse to view a summary of repository activity - GitHub Docs
- Using workflow run logs - GitHub Docs
Continue Learning
- ✓Application Insights is Azure Monitor's application performance monitoring component, instrumented into an application to collect request rates, response times, failure rates, dependency call performance, and exceptions
- ✓VM Insights, Container Insights, Storage insights, and Network insights are pre-built Azure Monitor experiences, each tuned to the telemetry that is actually meaningful for that specific resource type
- ✓GitHub Insights provides built-in repository analytics (pulse, contributors, traffic, commit/code frequency), separate from Azure Monitor, for GitHub-hosted repository and workflow activity
- ✓Azure Monitor can integrate with DevOps tooling, such as automatically creating a work item from an alert or gating a pipeline stage on an alert's active state
- ✓Deliberately scoping telemetry collection per resource type (rather than maximizing collection everywhere by default) controls both Log Analytics ingestion cost and alert noise, without necessarily improving detection quality
1. A team wants to measure their web application's request rates, response times, and dependency call performance, and capture unhandled exceptions with stack traces. Which Azure Monitor component is purpose-built for this?
2. Why does Azure Monitor offer separate pre-built experiences like VM Insights and Container Insights rather than one generic monitoring view for every resource type?
3. A team wants visibility into their GitHub repository's commit frequency, contributor activity, and traffic trends, separate from any Azure-hosted telemetry. Where should they look?