DevOps metrics, dashboards and collaboration

AZ-400 DevOps EngineerProcesses and communicationsAbout 25 minutesBy Cloud Hands On

The DORA metrics, lead and cycle time, dashboards, wikis with Markdown and Mermaid, release notes, webhooks and Teams integration.

In this lesson you'll learn

1. Metrics that matter

Why measure at all?

You can't improve flow you can't see. Good DevOps metrics measure outcomes (how quickly and safely value reaches users), not activity (how many lines someone wrote).

The four DORA metrics are the standard set:

MetricMeasuresType
Deployment frequencyHow often you release to productionSpeed
Lead time for changesCommit to running in productionSpeed
Change failure rateShare of deployments causing a failureStability
Time to restore serviceHow long recovery takes after a failureStability

In Azure Boards, lead time runs from when a work item is created to when it's completed; cycle time runs from when work starts (first In Progress state) to completed. A cumulative flow diagram shows items per state over time: a band that keeps widening is a bottleneck.

2. Metrics by stage

  • Planning: velocity, burndown, sprint commitment versus completion.
  • Development: pull request review time, size of changes, build success rate.
  • Testing: pass rate, code coverage, flaky tests, defects found after release.
  • Security: open vulnerabilities by severity, time to fix them, secrets found.
  • Delivery: deployment frequency, lead time, failed deployments.
  • Operations: availability, time to restore, alert volume, error rates.

Azure DevOps dashboards show these with widgets (lead time, cycle time, cumulative flow, velocity, burndown, build history, test results) and charts from work item queries. Analytics views and OData feed Power BI for deeper reports.

3. Documentation

Azure DevOps has a project wiki (stored in a hidden Git repository) and publish code as wiki, which turns Markdown files in a repository folder into a wiki that's versioned with the code. GitHub repositories have a wiki and render Markdown files everywhere.

Mermaid turns text into diagrams. In GitHub Markdown you use a fenced block marked mermaid; in an Azure DevOps wiki you use the ::: mermaid syntax. Diagrams kept as text can be reviewed in pull requests like code.

For releases, GitHub can automatically generate release notes from merged pull requests, grouped by label using .github/release.yml. API documentation comes from OpenAPI (Swagger) descriptions or tools that read code comments. Changelogs can be generated from Git history, especially when commits follow a convention such as Conventional Commits.

4. Integrations

A webhook sends an HTTP POST to your endpoint when something happens (GitHub: a push, a pull request, a release). Azure DevOps calls these service hooks: subscriptions that send events (build completed, work item updated) to services such as Teams, Slack or any webhook URL.

For Microsoft Teams, the Azure Boards, Azure Pipelines and Azure Repos apps (and the GitHub app) post updates into channels and let people act from the conversation, for example approving a deployment.

Example

Larkfield Group's platform team puts a dashboard on the office screen: deployment frequency, lead time, change failure rate and time to restore, plus a cumulative flow chart. When the Review column's band kept widening, they added a second reviewer to the rota and lead time fell by two days.

Exam traps to remember

  • Lead time starts at creation; cycle time starts when work begins.
  • Azure DevOps wikis use ::: mermaid; GitHub uses a fenced mermaid code block.
  • Azure DevOps sends events out through service hooks; GitHub through webhooks.

Test yourself: 3 check questions and exam-style practice questions on this topic are in the AZ-400 DevOps Engineer app.

Practise in the app

Keep going