Microsoft DevOps Engineer Expert (AZ-400) · Section 5 · 8% of the exam
Configure monitoring in GitHub, including enabling insights and creating and configuring charts
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Implement an instrumentation strategy”. Here is what it covers, the points to remember and a question to try.
What it covers
Telemetry only helps if the right person hears about a problem. This lesson covers GitHub repository and Actions insights, GitHub Projects charts, notifications for failed workflows, Azure DevOps notification subscriptions and service hooks, and the Azure Monitor alert rules, action groups and release gates that connect production health back to the pipeline.
Points to remember
- Repository Traffic needs push access and keeps 14 days; Actions metrics are under Insights (organization or repository) and export to CSV.
- Charts are created in a GitHub Project: insights icon > New chart > filter > Save changes.
- GitHub notifies you about runs you triggered; you can limit mail to failed workflows only. Scheduled workflow mail goes to the creator, then to whoever last changed the cron.
- Azure DevOps has four notification levels: personal, team, project and global. Global needs Project Collection Administrators.
- Service hooks push Azure DevOps events to Teams, Slack, webhooks and queues; notifications never block a deployment, checks do.
Try a question
A DevOps lead wants a Microsoft Teams channel to be told whenever a build in an Azure DevOps project completes with a Failed result. The solution must not depend on any individual's email settings. What should the lead create?
- AA personal notification subscription for Build fails, sent to the lead's own email address
- BA Query Azure Monitor alerts check added to the pipeline's environment with a Teams webhook
- CA branch policy requiring a successful build, with the Teams channel added as a required reviewer
- DA service hook on Build completed, filtered to Failed, sent to Teams or a webhook
Show the answer
D. Notifications in Azure DevOps are delivered through email or through service hooks. For integration with Teams, Slack or any webhook receiver, create a service hook subscription (Project settings > Service hooks) for the Build completed event and filter on status Failed.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Monitoring and alerts in GitHub, Azure Pipelines and Azure Monitor teaches this objective (about 45 minutes), and 12 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure Azure Monitor and Azure Monitor Logs to integrate with DevOps tools
- Configure collection of telemetry by using Azure Monitor Application Insights, Azure VM Insights, Azure Container Insights, Azure Monitor for Storage, and Azure Monitor for Networks
- Configure alerts for events in GitHub Actions and Azure Pipelines
- Inspect infrastructure performance indicators, including CPU, memory, disk, and network
- Analyze metrics by using collected telemetry, including usage and application performance
- Inspect distributed tracing by using Azure Monitor Application Insights
- Interrogate logs using basic Kusto Query Language (KQL) queries