Deployment Frequency
Deployment Frequency: How often code is deployed to production.
Formula
Deployment Frequency = Deployments / Time period Computable definition
The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.
count_distinct(field.deployment_id) Unit: count
Notes: Deployments per period.
Data requirements
Grain: Per event · Frequency: Per deploy · Aggregation: event · Staged: no · Main source: CI/CD.
| Field | Dataset | Type |
|---|---|---|
deploy_date | deployment | timestamp |
deployment_id | deployment | string |
Example SQL (Postgres)
SELECT (SELECT COUNT(DISTINCT deployment_id) FROM deployment WHERE deploy_date >= :period_start AND deploy_date < (:period_end + INTERVAL '1 day')) AS deployment_frequency Access: recommended
sensitivity tier internal,
access scope department-scoped.
Guidance your policy engine enforces.
From an agent: with the GASP MCP server, call
lookup_metric({ "name": "Deployment Frequency" }) or generate_query({ "metric": "Deployment Frequency", "adapter": "<your adapter JSON>" }).
Benchmarks
- Elite: On-demand or multiple times per day
- High: Once per day to once per week
- Medium: Once per week to once per month
- Low: Less than once per month
What It Tells You
Ability to deliver value quickly.
Related Metrics
Connected in the GASP relationship graph.
Downstream: what this drives
- Deployment Frequency drives Feature Adoption Rate (Product)
- Deployment Frequency reduces MTTR (Engineering)
- Deployment Frequency measures Deployment (Entity)