Introduction
DX onboarding uses merge request merge rates to measure ramp-up time. When you first enable DX onboarding, you may notice inaccurate or missing ramp-up time metrics. This is due to missing historical data. To backfill the data, you'll give DX a GitLab API token and your group's ID.
Steps to get your group's ID
1. Go to your group in GitLab and copy the number next to "Group ID:"
Steps to create the API token
1. Go to your personal access tokens page and create a token with the "read_api" scope enabled. Make sure you have permissions to view all project in your group so no merge requests are missed.
What DX does with your API token:
Get a list of active members in your group
Get each member's earliest 10 PRs
Store the merge timestamps to calculate time-to-Nth PR metrics