DORA Metrics
DORA metrics describe how often and how smoothly changes reach production. Q247 calculates four: Deployment frequency, Lead time for changes, Change failure rate and Time to restore. Each gets a tier of Elite, High, Medium or Low, based on thresholds from the DORA 2024 report. The acronym comes from DevOps Research and Assessment, shown in the subtitle of the card.
The source data is deployments from CI/CD pipelines in GitLab, GitHub, Azure DevOps and Bitbucket Cloud. The Enterprise Plugin collects them through repository connectors, together with the history of the last 365 days (→ CI/CD deployments). The metrics include deployments to the environments that the administrator marked as production.
DORA metrics require the latest version of the Enterprise Plugin (2.8.7) and configuration by an administrator. The administrator turns on the "DORA metrics for this organization" switch in the "DORA metrics" section (Manage Organization → Configuration) and enters the production environments. → DORA Metrics configuration
DORA Metrics card
The "DORA" card is on the Project page, below the team metric cards, and on the Overview, where it covers all projects the user has full visibility into (→ Access to DORA metrics). The values apply to the date range selected on the page.
The "Change delivery stages" bar splits Lead time for changes into four stages: "Coding", "Review" (code review), "Deploy wait" and "Deploy". The bar appears when the organization has production environments set and no recalculation is in progress. Below it are four metric tiles, each with a tier and a change against the previous period.
The card is collapsed by default and then shows the stages and the tiles. When expanded, it also shows the deployment details.
Deployment frequency
This is the number of successful production deployments with an ordinary purpose (deploy) or a hotfix. The result excludes rollbacks and redeployments of an older version that Q247 recognized as a repair, as well as failed, canceled and non-production deployments. A week without any deployment counts as zero.
The tier is based on three different measures, checked in turn from the highest threshold. The tile shows the measure that decided the tier, so the unit changes along with it:
| Tier | Condition | Unit on the tile |
|---|---|---|
| Elite | the median number of days with a deployment per week is at least 3 | "release days / week" |
| High | the median number of deployments per week is at least 1 | "releases / week" |
| Medium | the median number of deployments per month is at least 1 | "releases / month" |
| Low | none of the conditions above is met | "releases / month" |
The column in the projects table always shows release days per week.
When the selected period covers fewer than 2 full weeks, the tile shows no value and no tier, only "No tier" with the explanation "Under 2 full weeks".
Lead time for changes
The metric measures the time from the start of a change to its first successful deployment to production. A change is a pull request, and a commit deployed without a pull request counts as a separate change. By default, the start is the earlier of two moments: the first commit of the change or the moment the linked ticket entered work. The administrator can choose a different start in the Configuration. The tile shows the median.
The "Calendar" / "Working" switch changes how time is counted. The calendar view counts full clock time and shows it in minutes, hours or days. The working view counts time in the organization's working hours and shows it in working days. The tier is visible on the tile only in the calendar view, because the tier thresholds are expressed in clock time.
Lead Time in Flow Metrics measures the path of a ticket from the Lead Time start (ticket creation or, in the Commitment point variant, entering one of the selected statuses) to its completion. Lead time for changes measures the path of a code change all the way to production.
Change failure rate
The indicator divides the number of deployments with an incident by the number of deployments in the selected period. The denominator covers the same deployments as Deployment frequency, hotfixes included. An incident is a successful production deployment after which a repair was needed. A period without deployments gives no value.
An incident arises only when Q247 detects a repair. It looks for the deployment that caused the failure backwards from the repair deployment, within the failure linking window. A repair is signaled by a commit revert, a rollback to an earlier version, a redeployment of an older version, and a repair pattern in a commit or a pull request. Q247 recognizes rollback and hotfix deployments by the patterns set in the Configuration. A failure that has not been repaired yet is not included in the result, so the indicator can be understated toward the end of the period.
When the organization has no rollback and hotfix patterns, the tooltip of the tile ends with the sentence: "No rollback or hotfix patterns are configured, so most failures cannot be recognized and the rate may be understated."
Time to restore
The tile shows the median clock time from the end of the deployment that caused the failure to the end of the first repair deployment. The result is shown in minutes, hours or days and does not depend on the organization's working hours. A period without incidents gives no value.
Tiers
The tier is based on thresholds taken from the DORA 2024 report:
| Metric | Elite | High | Medium | Low |
|---|---|---|---|---|
| Deployment frequency | median of at least 3 days with a deployment per week | median of at least 1 deployment per week | median of at least 1 deployment per month | less often |
| Lead time for changes (calendar view) | under 24 h | under 168 h | under 720 h | 720 h or more |
| Change failure rate | up to 5% | up to 10% | up to 20% | over 20% |
| Time to restore | under 1 h | under 24 h | under 168 h | 168 h or more |
A time equal to a threshold falls into the weaker tier, and a percentage equal to a threshold into the better one.
Deployment details
When expanded, the card shows the "Deployments per day" chart with an average line and the "Last deployments" list. The "Show all ({n})" button opens the "All deployments" window with the deployments from the selected period.
A deployment row has a "Successful" or "Incident" chip and a link to the deployment in the CI/CD system. A deployment without new commits is marked "No new commits". On the Overview, the row also shows the project name.
DORA columns in the projects table
The "Projects" table on the Overview has five DORA columns. In the "Customize the contents of the table" window, they form the "DORA" category:
| Column | Visible by default |
|---|---|
| DORA Lead time for changes (working time) | Yes |
| DORA Lead time for changes (calendar time) | Yes |
| DORA Release days / week | No |
| DORA Change failure rate (%) | No |
| DORA Recovery time | No |
The cell tooltip shows the tier of the metric. → Statistics available in the table
Access to DORA metrics
DORA metrics describe the whole project, so the card and the columns are visible to people with full visibility into the project:
- the project Manager, that is, its direct manager;
- a team manager, in projects assigned to their team or a sub-team and in projects whose managers belong to their team or a sub-team;
- the project Viewer.
The Member level gives no visibility into DORA metrics, and the project page then shows neither the card nor any message. The organizational role Admin alone does not give visibility either: an Admin configures the metrics but sees the data only with one of the levels listed above. The Overview and the project page also require the organizational role Member. → Permissions
The card on the Overview counts only projects the user has full visibility into. Without any such project, the card does not appear. The "No access" label occurs only in the projects table on the Overview: it is shown by the DORA cell of a project without full visibility, with the tooltip "These metrics describe the whole project, so they are shown to its managers and viewers. You do not have that level of access to this project."
Card states
| Situation | What you see |
|---|---|
| The organization has no production environments | The card shows "Not configured". The tooltip explains that no deployment counts as production and that an administrator adds environment patterns in the Configuration. |
| The production environments or the deployment purpose have just changed, in the organization or in a project | The card shows "Recalculating", because Q247 re-evaluates all stored deployments. The recalculation can take up to 2 hours. If the card still shows this state after that time, reload the page. → Effects of changing the settings |
| There were no deployments in the selected period | The tiles show "No data in selected period", and the chart and the list show "No deployments in the selected period", with advice to choose a longer date range or check that the CI/CD integration is connected. |
| A metric has no value | The tile shows "No data". |
When the organization has no connector from which Q247 collects CI/CD deployments, or the administrator has not turned the metrics on, the DORA card and columns do not appear at all, without any message.
See also
- DORA Metrics configuration: production environments, repair deployments, failure linking window
- CI/CD deployments: the data source and plugin preparation
- Projects: DORA settings for a single project
- Flow Metrics