Skip to content

DORA and benchmarks

Live Org adminManagerDeveloper
Who can use it
Everyone can read. Only an org admin can change targets.
Where
Efficiency → DORA; Industry Benchmarks → Industry Benchmarks, Benchmark History
Deploys come from
GitHub Deployments and Actions runs, GitLab deployments
Incidents come from
PagerDuty, incident.io, Opsgenie. Sentry is set up with support.

See how fast and how safely your teams ship, and how you compare with the industry.

DORA is a widely used set of four delivery measures from the DevOps Research and Assessment program: deployment frequency, lead time for changes, change failure rate and time to restore. DevGlimpse calculates them from real deployments and incidents, linked to the pull requests behind them. The numbers come from real events, not surveys.

The four keys

Key What it measures How DevGlimpse counts it
Deployment frequency How often you ship to production Successful production deploys, counted on the day each one finished and shown per week
Lead time for changes How long a change takes to reach production A linked pull request’s first commit to the production deploy that shipped it
Change failure rate How often a deploy needs fixing Failed production deploys, plus successful ones followed by a revert or hotfix pull request within the window, divided by all finished production deploys
Time to restore How quickly you recover A failed production deploy to the next successful production deploy of the same environment (for an Actions run, the same workflow). Several failures in a row count as one restore, timed from the first.

What counts as a fix

A fix pull request is one that:

  • has a title starting with Revert, hotfix or [hotfix] (in any case), or
  • carries a revert or hotfix label.

By default it counts when it is opened within 72 hours after the deploy.

  • Cancelled deploys count as neither a failure nor a restore.
  • A failure that is not yet restored is not counted until it is.
  • For full definitions, see the metric glossary.

How teams get credit

A team or group is credited with a deploy when it shipped a pull request that one of its members merged.

  • A deploy counts once per team, however many members it shipped. So team rows can add up to more than the organization total.
  • A person has no deploy count, because a deploy names no one.

Where deploys and incidents come from

Deploys

Connect GitHub, and DevGlimpse reads two things through the GitHub App’s read-only permissions:

  • GitHub Deployments
  • GitHub Actions workflow runs

This covers teams that deploy through the Deployments API and teams that deploy straight from a workflow. GitLab pipelines and deployments are counted the same way when GitLab is connected. See Integrations.

What counts as production

  • By default, a deployment counts when its environment is named production, ignoring upper and lower case.
  • A workspace can also name the workflows that count.
  • Workflow re-runs are separate attempts. A failed attempt stays a failed deploy, even when a re-run succeeds.
Setup screen coming The production environment names, the workflows that count and the 72-hour fix window can be changed in DevGlimpse today, but their setup screen is not in the app yet. Contact support to change them.

A merged pull request links to the first successful production deploy on its base branch that contains its merge commit. If DevGlimpse cannot confirm that, it uses the first successful production deploy of that repository and branch after the merge.

Incidents

You can connect PagerDuty, incident.io or Opsgenie. Then, for repositories whose service is mapped to an incident tool, two keys use incidents:

  • Time to restore is the time from an incident opening to its resolution.
  • A successful deploy counts as a change failure when an incident opened within the window after it.

This is decided for each repository. A workspace can use incident-based numbers for one service and deploy-based numbers elsewhere. The headline cards say which definition they used:

  • incident-based
  • deploy-based
  • incident-based for N of M, when only some repositories use incidents (for example “incident-based for 2 of 5”)
Setup screen coming This works in DevGlimpse today, but its setup screen is not in the app yet. Contact support if you need it before then.

Read the DORA report

  1. Open Efficiency → DORA.
  2. Choose a team or group in the filter bar, or leave All Teams for the organization.
  3. Pick a date range.
  4. Read each section:
    • Deploy frequency: Production deploys and Deploys per week for the window, and a weekly trend. A week with no deploy reads zero.
    • Change failure rate: Change failure rate, Change failures and a weekly trend.
    • By team: Deploys by team over the window, busiest first. Select a team to open its page.
    • Time to restore: Mean time to restore, Restores and a weekly history.

Lead time for changes is in PR Workflow, under Lead time by stage. Look at merge → deploy: the last stage, from merge to the production deploy that shipped it.

To measure restore time and lead time in working hours instead of calendar time, use the Time filter.

Note Until your workspace has a counted production deploy, deploy charts read Not connected rather than zero. That means the App's Deployments and Actions permissions are not approved yet, or nothing matches your production setting.

If DORA reads Not connected

You may have connected GitHub before DevGlimpse added deployment data. If so, GitHub asks an organization owner to approve the new Deployments and Actions permissions.

  • Until someone approves them, DORA reads Not connected.
  • A notice on Admin → Integrations tells you when permissions are waiting.

Industry benchmarks

Industry Benchmarks compares last week against a target for each metric. Last week is Monday to Sunday in your workspace time zone. Until you set your own target, the target is the elite (top) band from published research.

DORA metric Default target
Deploy frequency At least 1 per day (on demand)
Lead time for changes At most 24 hours
Change failure rate At most 5%
Time to restore At most 1 hour
  • The default bands come from the DORA 2024 report.
  • Select the information icon beside a metric to see where its default comes from, with a link to the research.
  • The same page also benchmarks PR Workflow, quality and predictability metrics.

Read the benchmarks

  1. Open Industry Benchmarks. To see only one team or group, pick it in the filter bar.
  2. Read each row: Category, Metric, Team, Status, Target, Last week and Week / week.
  3. Check the Status:
    • Pass: the value meets the target.
    • Needs attention: it does not.
    • Not connected: the source is missing.
    • No data: a connected week had nothing to measure.
  • The bar beside each value marks the target on the same scale.
  • The change from the week before is green when it moved toward the target, and red when it moved away.

Set your own target

Only an org admin can change targets.

  1. On Industry Benchmarks, find the metric and select the pencil beside its target. The label next to the target reads Default or Your target.
  2. Use the comparator button to switch between at most (≤) and at least (≥).
  3. Enter the value and select Save target.
  4. To go back, edit the target again and select Use the default target.

A workspace target is per metric. Changing it on one row changes it for every team.

A team or group can also have its own target that overrides the workspace target. The target in force is the team’s own, else the workspace’s, else the default.

Setup screen coming This works in DevGlimpse today, but its setup screen is not in the app yet. Contact support if you need it before then.

Benchmark history

Open Benchmark History to see each metric week by week, against the target that was in force that week.

  • The target line steps when you change a target. Past weeks are never rewritten.
  • To see only one team or group, pick it in the filter bar.
  • A week with nothing to measure has no point, never a zero.

You can also get an alert when a team or group misses its benchmark target. See Alerts and digests.

Common questions

Why is deployment frequency zero for a team?A team is credited only when a deploy shipped a pull request that one of its members merged. If the team merges to a branch that never deploys to a counted production environment, it has no deploys.
Why do the team deploy counts add up to more than the total?A deploy counts once for every team whose members' pull requests it shipped.
Why are change failure rate and time to restore blank for a week?The week had no finished production deploy, or no restore. DevGlimpse shows no point instead of a zero.
Can I see DORA for one person?No. A deploy is a set of changes, not a sum of people. So DORA keys exist for the organization, teams, groups and repositories. Per-person measures, such as lead time for changes, appear on contributor rows through their linked pull requests.