forsgren

Measure the five DORA metrics for a set of GitHub repositories, from GitHub data, and publish them as a small static status page.

Named after Dr. Nicole Forsgren, whose research with DORA (and the book Accelerate, with Jez Humble and Gene Kim) defined the first four of these metrics.

The five DORA metrics

forsgren shows each metric as its DORA band next to the figures it comes from, for every project. The definitions, with the rulings behind them, are in Pages and views. The numbers count back over the last 30 days, or over 90 or 180 days when dora_days in the config says so.

Deployment frequency answers how often you ship to users. The page shows its band with the number of successful deployments of the last 30 days: "Between once per day and once per week · 12".

Lead time for changes answers how long a commit takes to reach users. The page shows its band with the median and the number of commits of the last 30 days: "Less than one hour · 17 min (37)".

Failed deployment recovery time answers how long it takes, when a deployment fails and needs immediate intervention, until a successful one recovers it. The page shows its band with the median and the number of recoveries: "Less than one day · 3 h (2)".

Change fail rate answers what share of deployments causes a failure users hit. The page shows its band with the rate and the failed changes: "20% · 15% (2 of 13)".

Deployment rework rate answers what share of deployments is unplanned, made to fix a problem users hit. The page shows its band with the rate and the rework deployments: "20% · 14% (1 of 7)".

Two TBD metrics

Mainline Lead Time answers how long a commit takes to reach the main branch: the time from its author date until it lands on main, over every commit that reached main, pushed directly or merged through a pull request.

Mainline Interval answers how often changes land on the main branch: the time between one commit pushed to the main branch and the next on the main line, deployed or not.

What it produces

A live example

forsgren measures itself, and publishes the page at https://forsgren.forsgren.be.

This README is also the project page, forsgren.be: it is rendered to one page and published on every change to it; see CI.

Installing

An installation is a data repository of your own (private when it measures private repositories), made from the forsgren-template repository. It keeps your forsgren.config.yml and its data/, runs forsgren once a day from a one-line workflow pin, and publishes the page on GitHub Pages. Its README.md is forsgren's: the daily run rewrites it for the version it runs, so a hand edit there is overwritten. Create it from the template and follow the template's own README, or point an AI coding agent at agent-installer.md: it asks what only you can decide and creates your data repository from the template step by step. Each new forsgren release then arrives as a Dependabot pull request. For an existing installation that is behind the latest release, or has automatic updates switched off, point a coding agent at agent-upgrade.md: you give it the address of your current report, and it finds the rest, reads what each release asks of you, and asks only what is yours to decide. To remove an installation, its page, its custom domain and its history, point a coding agent at agent-delete.md: it shows you what will go and deletes nothing before you reply with the go it asks for.

Configuration

Every forsgren.config.yml key is described in docs/configuration.md.

Documentation

Status

The bootstrap is done (forsgren#1, 2026-10-02): the build, the gates, CI and these docs. Since then collect reads GitHub into the history file: the deployments of the configured projects and the commits they shipped. The page shows each project's deployment frequency, lead time for changes, failed deployment recovery time, change fail rate and deployment rework rate. Installations start from the forsgren-template repository and take each new release as a Dependabot pull request. forsgren is open source, under EUPL-1.2 (see Licence).

Licence

forsgren is licensed under the European Union Public Licence v. 1.2 (EUPL-1.2): see LICENSE. Contributions are accepted under the same licence, with a Developer Certificate of Origin sign-off on every commit by a person and no CLA; a registered automation identity is exempt and signs nothing: see CONTRIBUTING.md.

Security

Report a vulnerability privately, never in a public issue: see SECURITY.md.

This project follows the Code of Conduct.