DeepGraph
All posts

"Deployment frequency: what it is and how to measure it"

24 November 2026 · The DeepGraph team

Deployment frequency is how often a team gets new code into production. It is one of the four DORA metrics, and the easiest one to start with: count the production deploys that worked, per day, week, or month.

This guide explains why deployment frequency matters, what should count as a deploy, how to measure it on GitHub, GitLab, Bitbucket, and SourceCraft, and how to raise it without breaking things. It is written by the team behind DeepGraph, which measures deployment frequency from your projects. For all four DORA metrics in one place, read DORA metrics explained in plain words.

Deployment frequency over twelve weeks of a sample web shop. Bars above the line are deploys that worked, bars below it are deploys that failed. Point at a week to see its numbers.

Why deployment frequency matters

A team that deploys often ships small changes. A small change is easier to review, easier to test, and easier to undo when something goes wrong. A team that deploys once a month ships a month of changes at once, and when that big release breaks, finding the cause takes longer.

DORA's research keeps finding that teams who deploy more often also tend to fail less and recover faster. Speed and safety go together, because both come from small changes and good automation.

What counts as a deploy

Before you count, decide what a production deploy is in your project:

  • A deployment to a production environment, if your pipeline records deployments.
  • A run of the workflow or pipeline that deploys, on the branch you release from.
  • A published release or a version tag, if every release goes live.
  • A merge into the main branch, if every merge deploys on its own.

Leave out staging, test, and preview deploys. They don't reach the people who use your product. Count only the deploys that worked. A deploy that failed goes into the change failure rate instead.

How to calculate deployment frequency

Count the production deploys that worked in a period and divide by the length of the period. For example, 30 deploys in a month of about four weeks is 7 to 8 deploys a week.

Pick the period that fits how often you ship. A team that deploys several times a day reads it per day. A team that ships every week or two reads it per week or per month. Then read it as a trend: is this month higher or lower than the last three?

How to measure deployment frequency on GitHub, GitLab, Bitbucket, and SourceCraft

GitHub

GitHub records deployments to environments, runs of GitHub Actions workflows, releases, and tags. If your workflow deploys to an environment named production, count those deployments with status success. If it doesn't, count the successful runs of the workflow that deploys.

GitLab

GitLab records a deployment each time a job deploys to an environment, and each environment has a tier. Count the successful deployments to environments in the production tier. GitLab's own DORA charts do this, but they are part of GitLab Ultimate. Read how to measure DORA metrics on GitLab on any plan.

Bitbucket

Bitbucket records pipelines and deployments to environments. Count the successful deployments to your production environment, or the successful runs of the pipeline that deploys.

SourceCraft

SourceCraft records CI runs, releases, and tags, but no deployments. Count the successful runs of the workflow that deploys, or your releases or tags if that is how you ship.

Common mistakes

  • Counting staging. A deploy to staging is not a deploy to users, and it makes the number look better than it is.
  • Counting every pipeline run. A run that only builds and tests is not a deploy.
  • Comparing teams. A team that ships a mobile app through a store can't deploy as often as a web team, and it doesn't need to.
  • Making it a target. A team told to deploy more can split one change into five deploys. Read deployment frequency next to lead time and change failure rate.

How to raise deployment frequency safely

  • Make changes smaller. Small pull requests are reviewed and merged faster, so they are ready to ship sooner.
  • Automate the deploy. If a deploy needs a person to follow a checklist, it will happen less often.
  • Test before merging. Automated tests that run on every change let you deploy without a long manual check.
  • Hide unfinished work behind a switch. A feature flag lets you deploy code before you turn it on.
  • Watch the failures. If deploying more often makes more deploys fail, slow down and fix that first.

Deployment frequency in DeepGraph

DeepGraph reads deployments, workflow runs, pipelines, CI runs, releases, tags, and merged pull requests from your GitHub, GitLab, Bitbucket, and SourceCraft projects. Its number for deployment frequency is Deploys: how many times new code reached production in the dates you chose. Failed deploys are counted on their own.

  • Production picked for you. DeepGraph guesses which places are production and skips names that read as staging, test, or preview. You can change the guess with one click on a chip.
  • For people and teams. A person's Deploys count the deploys that shipped their merged pull requests, and a team counts everyone in it.
  • Over time. A chart shows each day, week, or month, with deploys that worked above the line and failed ones below it.

See DORA in DeepGraph for the other three numbers.

Questions

What is a good deployment frequency?

It depends on what you ship. A web service can deploy many times a day, and a mobile app might ship every week or two. Compare your team with its own past, and use DORA's yearly reports at dora.dev to see what other teams reach.

Do failed deploys count toward deployment frequency?

No. Deployment frequency counts deploys that reached production and worked. Failed deploys are counted in the change failure rate.

Is deployment frequency the same as release frequency?

Not always. A deploy puts code in production. A release makes a feature available to users. With feature flags, you can deploy many times before you release.

Get started

Read about the other DORA metrics: lead time for changes, change failure rate, and time to restore. Or connect your first project with the Getting started guide.