Bitzu

AZ-400 ยท Monitoring DevOps environments

How do you get alerted about failed pipelines in GitHub and Azure DevOps?

GitHub repository and organization insights, Actions usage and metrics charts, notifications for failed workflows, Azure Pipelines notifications and service hooks, alerting on pipeline events.

Key points

  • In Azure DevOps, service hooks subscribe to events such as a build completing and send them to consumers like Teams, Slack, Service Bus or a generic webhook.
  • In GitHub, you inspect workflow runs in the Actions tab or with gh run list, and use notification settings to hear about workflow results.
  • Repository and organization insights add charts for activity over time.

Source: https://learn.microsoft.com/en-us/azure/devops/service-hooks/overview?view=azure-devops

Practice questions

Single choice

Where in Azure DevOps do you create subscriptions that send events to other services?

  1. Project settings, Service hooks
  2. Repos, Branch policies
  3. Pipelines, Environments
  4. Artifacts, Feed settings
Show answer

Answer: A. Project settings, Service hooks

Service hooks live under Project settings. Other settings areas do not provide event subscriptions to external consumers.

Select all that apply

Which are available as Azure DevOps service hook targets?

  1. Slack
  2. Microsoft Teams
  3. Azure Storage queue
  4. GitHub Pages site
  5. Azure Artifacts feed
Show answer

Answer: A. Slack, B. Microsoft Teams, C. Azure Storage queue

Slack, Microsoft Teams and Azure Storage queues are listed service hook consumers. A GitHub Pages site and an Azure Artifacts feed are not consumers.

True or false

True or false: Azure DevOps service hooks can only target Microsoft services.

Show answer

Answer: False

False. Consumers include Slack, Trello, Jenkins, Datadog and generic webhooks as well as Microsoft services.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module