Skip to main content

Backfilling GitLab data

Updated over a month ago

DX docs are moving! Visit docs.getdx.com for all current and future help—this page will no longer be updated.

DX onboarding uses merge request webhooks to track and measure ramp-up time. To backfill your data, you'll provide DX a GitLab API token and your GitLab group 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?