Skip to main content
Version: v0.12

GitLab

Metrics

Metric NameDescription
Pull Request CountNumber of Pull/Merge Requests
Pull Request Pass RateRatio of Pull/Merge Review requests to merged
Pull Request Reviewer CountNumber of Pull/Merge Reviewers
Pull Request Review TimeTime from Pull/Merge created time until merged
Commit Author CountNumber of Contributors
Commit CountNumber of Commits
Added LinesAccumulated Number of New Lines
Deleted LinesAccumulated Number of Removed Lines
Pull Request Review RoundsNumber of cycles of commits followed by comments/final merge

Configuration

Configuring GitLab via config-ui.

Gathering Data with GitLab

To collect data, you can either utilize the config-ui or make a POST request to /pipelines

curl 'http://localhost:8080/pipelines' \
--header 'Content-Type: application/json' \
--data-raw '
{
"name": "gitlab 20211126",
"tasks": [[{
"plugin": "gitlab",
"options": {
"connectionId": 1,
"projectId": <Your gitlab project id>
}
}]]
}
'