Overview
The OrgDORAMetricsGitlab module aggregates merge request and incident data across all projects in a GitLab group, delivering organization-level insights into delivery performance and reliability.
Authentication & Permissions
- Personal Access Token (PAT)
- Required scope:
api
- Optional scopes:
read_repository
, read_api
, read_user
- Self-Managed Instances
- Use your instance’s base URL (e.g.
https://gitlab.example.com
)
- Ensure network and CORS settings permit GraphQL access
Metrics
Deployment Frequency
- Total number of merge requests merged across the organization within the date range where the last pipeline status is
SUCCESS
.
Lead Time for Changes
- Average time from merge request creation to merge, aggregated across all projects in the organization.
Change Failure Rate
- Proportion of merged merge requests whose last pipeline status is
FAILED
across the organization.
Mean Time to Recovery (MTTR)
- Average time to close issues labeled
incident
across the organization.
First Review Time
- Average time from merge request creation to the first non-system note across the organization.
First Approval Time
- Average time from merge request creation to the first approval note across the organization.
First-to-Last Approval Time
- Average interval between the first and last approval notes on each merge request across the organization.
Last Approval-to-Merge Time
- Average duration from the final approval note to merge completion for all merge requests across the organization.
Time to Open
- Average time between the earliest commit in each merge request branch and merge request creation (negative intervals zeroed).
Time to Merge
- Average duration from merge request creation to merge completion, aggregated at organization level.