"GitLab DORA metrics: measure them on any GitLab plan"
24 November 2026 · The DeepGraph team
GitLab DORA metrics are the four DORA numbers measured from what GitLab records: how often you deploy, how long a change takes to reach production, how often a deploy fails, and how long it takes to recover. GitLab has its own DORA view, but it is part of GitLab Ultimate, and it shows a project or a group, not a person or a team.
This guide explains where each number comes from in GitLab, how GitLab's own view counts it, and how to measure it on any GitLab plan. It is written by the team behind DeepGraph, which reads DORA from your gitlab.com projects. If the four numbers are new to you, start with DORA metrics explained in plain words.
The four GitLab DORA metrics at a glance
- Deployment frequency: how often a deployment to a production environment succeeds.
- Lead time for changes: how long a merge request's change takes from its first commit to production.
- Change failure rate: the share of production deployments that fail.
- Time to restore: after a failed deployment, how long until the next one that works.
What GitLab records that DORA needs
You don't need a new tool to start. GitLab already keeps most of what DORA needs:
- Deployments: each time a job deploys to an environment, GitLab records a deployment with its status: success, failed, canceled, or skipped.
- Environment tiers: every environment has a tier, such as production, staging, testing, or development. The tier is how GitLab knows which deployments reach the people who use your product.
- Merged merge requests: when each change was merged, and its commits.
- Releases and tags: a release or a version tag can mark what you shipped, if your team ships that way.
The hard part is not the data. It is deciding which of these count as production.
Deployment frequency on GitLab
Deployment frequency counts how often new code reaches production. More small deploys are usually easier to check and easier to undo.
GitLab's own view counts successful deployments to environments in the production tier, as an average per day.
On any plan, count the deployments with status success to your production environments, per day, week, or month. Leave out staging, testing, and review environments. If your team doesn't deploy through GitLab environments, count releases or version tags instead, or merged merge requests if every merge goes live on its own.
In DeepGraph this number is Deploys. DeepGraph's first guess at production looks at environments in the production tier and skips names that read as staging, test, or preview. Every place your project ships to has a chip, and you can count it or not with one click.
Lead time for changes on GitLab
Lead time for changes is how long a change takes to reach production. A long lead time means finished work waits before anyone can use it.
GitLab's own view starts the clock when a merge request is merged and stops it when that code runs in production. It shows the middle value, the median.
On any plan, take each merged merge request, find the first production deploy after the merge, and measure from the merge request's first commit to that deploy. Starting at the first commit, as DORA's research does, also counts the time spent coding and in review, which is often where work waits longest. Use the median, so one merge request that sat open for months doesn't hide that most changes ship in a day.
In DeepGraph this is Lead time: from the first commit of each merged merge request to the production deploy that shipped it, as the median.
Change failure rate on GitLab
Change failure rate is the share of deploys that fail in production. A rising rate means changes reach people before they are ready.
GitLab's own view divides the number of incidents by the number of production deployments. It only works if your team records incidents in GitLab.
On any plan, you can count failed deployments instead: production deployments whose status is failed, divided by all production deployments. A release, a tag, or a merged merge request can't tell you that something failed, so this needs deployments.
In DeepGraph this is Failed deploys: production deployments that GitLab marked as failed. A failure that is retried until it works counts once. A canceled or skipped deployment counts as nothing.
Time to restore on GitLab
Time to restore is how long it takes to get production working again after a failure.
GitLab's own view measures how long incidents stayed open, as the median.
On any plan, measure from each failed production deployment to the next successful deployment to the same environment. Use the median again.
In DeepGraph this is Time to restore: the time until the next good deploy in the same place, as the median.
Set up GitLab so the numbers are right
Small settings in GitLab decide whether the numbers mean anything:
- Deploy through an environment. A job that deploys should name its environment in your GitLab pipeline settings, so GitLab records a deployment each time it runs.
- Mark production with its tier. GitLab guesses a tier from the environment's name. If your production environment has another name, such as live or eu-main, set its deployment_tier to production.
- Give other environments their own tier. Staging, testing, and review environments shouldn't be in the production tier, or every test deploy counts as a release.
- Let failures show. Change failure rate and time to restore need a deploy job that fails when the deploy fails. A job that always ends green hides every failure.
See GitLab DORA metrics in DeepGraph
DeepGraph reads the four numbers from your gitlab.com projects once you sign in with GitLab. You need at least the Reporter role on each project. It works on every GitLab plan, because it reads deployments, environments, merge requests, releases, and tags, not GitLab's DORA view.
- For people and teams, not only projects. A person's numbers count the deploys that shipped their merged merge requests, and a team counts everyone in it. You can group people into teams and put people and teams on one chart.
- Many projects at once. See one project, a folder of projects, or all of them together, next to the commits behind the numbers.
- Choose what counts. Chips show each environment, release, tag, and branch that merge requests merge into, with its number of deploys. DeepGraph guesses production for you, and you change the guess with one click.
- Kept up to date. DeepGraph is told about new deployments, merge requests, releases, and tags as they happen, if your connection allows it, and checks every hour otherwise.
What DeepGraph doesn't read on GitLab
- It works with gitlab.com. GitLab that a company runs on its own server has no DORA view yet.
- It reads no pipelines. A pipeline counts through the deployment its deploy job records.
- It reads no incidents. A failed deploy is one that GitLab marked as failed.
- Public GitLab projects added by their link have no DORA view. Sign in with GitLab to see it.
Questions
Does GitLab show DORA metrics on the Free or Premium plan?
No. GitLab's own DORA charts are part of GitLab Ultimate. On any plan you can still measure the four numbers from the deployments, environments, and merge requests GitLab records, by hand or with a tool such as DeepGraph.
Do I need GitLab incidents to measure change failure rate?
No. GitLab's own view counts incidents, but you can count production deployments that failed instead. That is what DeepGraph does.
Does DeepGraph work with GitLab on our own server?
Not yet. DeepGraph reads DORA from gitlab.com projects you connect.
Get started
Read more about DORA in DeepGraph, see the DORA questions in the FAQ, or connect your first GitLab project with the Getting started guide.