Skip to main content

Deployment Frequency

How often production deployments happen — and how to interpret the trend.

Deployment Frequency measures how often production deployments occur in a selected period. It's one of the four DORA metrics and the simplest indicator of release cadence.


​

What it measures


​

Total production deployments per unit of time — typically per day, week, or month. Higher frequency generally signals smaller batches, better automation, and tighter feedback loops.


​

Where the deployment signal comes from


​

Leanmote can count deployments five ways. The organization owner chooses one in Settings → Organization Settings → Tabs → Metrics, under Where deployments are counted:


​

  • Merged pull requests (default) — every pull request merged into a tracked repository counts as one deployment, whatever branch it merges into (dev, qa, main…), not only production. If your team promotes code through environment branches, a change merged into dev and later promoted to main counts twice: filter the view by target branch to count only what reaches production. Merging is a stand-in for shipping: it needs no CI/CD configuration, it works from the day you connect GitHub, and for teams that deploy on merge it tracks your actual release cadence closely.

  • GitHub deployments (opt-in) — Leanmote counts the production deployments recorded in GitHub for your repositories. This measures the release itself rather than the merge that preceded it, so it also sees deploys that no pull request explains: a rollback, a re-deploy of the same commit, a commit pushed straight to your main branch.

  • GitLab deployments (opt-in) — Leanmote counts the GitLab pipelines that reached production: one deployment per pipeline whose jobs on a production environment all succeeded, however many of those jobs it runs. A pipeline that stopped at a manual step, or failed, is not counted.

  • Bitbucket deployments (opt-in) — Leanmote counts the Bitbucket Pipelines deployments that succeeded in a Production environment: one deployment per pipeline step that deploys to an environment of type Production. A deployment that failed or was stopped is not counted.

  • Datadog deployments (opt-in) — once Datadog is connected, Leanmote counts the deployments Datadog records to the environments you marked as production. Datadog does not say which environment is production, so only the ones you mark count.


​

Already deploy on every merge? Then both sources will report similar numbers, and staying on the default is a perfectly good answer. Switching still changes two things: a merge whose deployment failed stops counting as something you shipped, and Change Failure Rate starts reading the status your pipeline reported to GitHub instead of inferring failure from pull-request titles. The teams that see the largest difference are the ones batching several merges into one release, deploying on a schedule, or deploying without a pull request at all.


​

With GitHub deployments, the setting affects Deployment Frequency and Change Failure Rate; with GitLab, Bitbucket or Datadog deployments, Time to Restore too. Lead Time for Changes stays merge-based.


​

How Leanmote calculates it


​

With the default merged-PR source:


​

deployment_frequency = merged_pull_requests / days_in_selected_range


​

With GitHub, GitLab, Bitbucket or Datadog deployments:


​

deployment_frequency = production_deployments / days_in_selected_range


​

  • The denominator is the length of the selected date range in days, so trend lines stay comparable across ranges.

  • Deployments are bucketed by day (UTC) — that's what the chart plots: a GitHub deployment by the time it was created, a GitLab, Bitbucket or Datadog deployment by the time it finished.

  • Only deployments to an environment GitHub marks as production are counted. If your organization never marks any environment as production, Leanmote counts all deployments rather than showing zero. With Datadog, only the environments you marked as production when connecting it count. With GitLab, only the environments in GitLab's production tier count; GitLab sets the tier from the environment's name (such as prod) or from deployment_tier in your pipeline. With Bitbucket, only the environments of type Production count (Repository settings › Deployments).

  • Show details lists what was counted: the merged PRs, or — with GitHub deployments — repository, environment, ref, state, and deploy time for each deployment. With Datadog, each deployment as Datadog names it, with its environment, result, repository and pull request. With GitLab, each deployment as its pipeline and commit, with its environment, result, repository and the merge request it shipped. With Bitbucket, each deployment as its pipeline and commit, with its environment, repository and pull request.

  • Available views: per team, per repository, and organization-wide.


​

Switch to GitHub deployments


​

  1. Go to Settings → Organization Settings → Tabs → Metrics.

  2. Under Where deployments are counted, choose GitHub deployments.


​

The option is only available to the organization owner, and only appears when GitHub is connected with at least one active repository. To count GitLab deployments, choose GitLab deployments in the same place: it appears when GitLab is connected with at least one active repository, and also brings in up to a year of history. Bitbucket deployments works the same way when Bitbucket is connected with at least one active repository and permission to read Pipelines; if it says reconnect Bitbucket, reconnect it in Integrations. To count Datadog deployments instead, see Datadog integration.


​

What Leanmote reads as a deployment:


​

  • Deployments created through GitHub's Deployments API — the usual case for GitHub Actions, Argo CD, Heroku, and similar tooling.

  • If your pipeline deploys without creating GitHub deployment objects, Leanmote can instead read a named production check run on your release tags. Ask your Leanmote contact to configure the check name for your organization.


​

Choosing it starts an automatic backfill of up to a year of deployment history (it only fetches the history you're missing). While it runs, the Software Delivery Performance tab shows a "Bringing in your deployment history" notice that clears as soon as data lands — and never stays up longer than 24 hours. Choosing Merged pull requests (default) again returns the metric to counting them immediately; captured deployment history is kept.


​

How to interpret it


​

  • Trending up — usually healthy. Often paired with shorter Lead Time.

  • Trending down while backlog stays high — a red flag for a delivery bottleneck.

  • Flat with rising failure rate — you've hit a quality ceiling. Investigate test coverage or release process.

  • A step change right after switching sources — expected, not a bug. Merges and deployments count different events, so don't compare a before-and-after across the switch.


​

What to do about it


​

  • Smaller batch sizes (fewer commits per PR, fewer features per release) typically lift this metric quickly.

  • Reduce manual approval steps. Each gate is a multiplicative cost.

  • Improve test reliability so deploys aren't blocked by flaky checks.


​

Related metrics


​

  • Lead Time for Changes

  • Change Failure Rate

  • Mean Time to Recovery

  • DORA metrics overview

Did this answer your question?