liveBook · Manning

DORA

As explained in Platform Engineering on Kubernetes

A DORA metric is a software delivery performance measure from the DORA research program, including delivery speed, throughput, and stability dimensions.

DORA (DevOps Research and Assessment) metrics measure how an organization delivers software and recovers from failures. For a platform team, they provide feedback on whether changes to delivery tools and workflows are helping application teams deliver faster and more efficiently. section 9.0 section 1.4.3

The four software-delivery metrics cover speed and stability:

  • Deployment frequency measures how often software is successfully released to customers. section 9.1
  • Lead time for change measures how long an application-team change takes to reach live customers. section 9.1
  • Change failure rate tracks problems introduced by changes to production. section 9.1
  • Time to restore service measures how long recovery from a production problem takes. section 9.1

Calculating these metrics is an integration problem: observe the systems involved in delivery, capture relevant data, and aggregate it. An off-the-shelf calculator is useful only if it can accept the systems your teams use. A Kubernetes-based approach can instead standardize incoming information so that sources and metric calculations remain extensible. section 9.1.1 section 9.1.1

A deployment-frequency pipeline

For a deployment-frequency calculation, incoming CloudEvents can be stored in PostgreSQL, transformed into CDEvents, and stored in a separate table. A periodic calculation stage reads unprocessed CDEvents to produce metrics. Retaining the incoming data also allows transformations and calculations to be rerun if calculated metric data is lost. The same stages can accommodate new sources and domain-specific metrics. section 9.2.2

DORA added a fifth, reliability-focused metric in 2022. The four metrics above remain the focus when assessing application-team software delivery rather than broader operational performance. section 9.1

How Platform Engineering on Kubernetes covers it

How deep it goes
Defines four delivery metrics and outlines collection and calculation stages; defers the fifth, reliability-focused metric.
Examples
Uses a deployment-frequency pipeline that stores CloudEvents, transforms them into CDEvents, and calculates metrics from PostgreSQL.
What it assumes
Assumes familiarity with application delivery workflows while defining the four metrics before addressing their integration.
What you can do after
Evaluate/understand platform delivery performance and identify bottlenecks using metrics aggregated from delivery systems.
How it connects
Connects continuous improvement and delivery pipelines with CloudEvents, CDEvents, PostgreSQL, and Kubernetes.

Also explained in

Compare how 4 books explain DORA →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Platform Engineering on Kubernetes. The section links point to the parts of the book it draws on.