Skip to main content
All CollectionsOnboarding
GitLab data backfill for DX Onboarding
GitLab data backfill for DX Onboarding
Updated over 2 months ago

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 click "Copy 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:

  1. Get a list of active members in your group

  2. Get each member's earliest 10 PRs

  3. Store the merge timestamps to calculate time-to-Nth PR metrics

Did this answer your question?