Deployment Frequency vs Lead Time for Changes
Under the GASP Standard Deployment Frequency counts deployments to production in a period. Lead Time for Changes is the median time from commit to deployment.
Also asked as
- What is the difference between deployment frequency and lead time for changes?
- Are deployment frequency and lead time both DORA metrics?
- Does lead time for changes start at commit?
Side by side
Deployment Frequency
- Definition
- How often code is deployed to production.
- Formula
Deployment Frequency = Deployments / Time period- Canonical formula
count_distinct(field.deployment_id)- Unit
- count
Lead Time for Changes
- Definition
- Time from code commit to production deployment.
- Formula
Lead Time = Median of (Deploy time - Commit time)- Canonical formula
(median(field.deploy_date - field.committed_at)) * 24- Unit
- hours
What each reads
Metrics each formula reads
Each formula reads its fields directly and takes no other metric as an input.
Fields each data requirement names
Both
deploy_date
Deployment Frequency only
deployment_id
Lead Time for Changes only
committed_at
Each field and the dataset it sits on are listed in the datasets reference.