GitLab Migration: Track number of attempted/failed/successful migrations
As done with #339392 (closed) for the GitHub Importer, we should do the same for GitLab
Problem
In order to understand the current performance and value of our GitLab Migration feature, we need to know what number/percentage of migrations are successful/failed.
Proposal
Collect metrics (usage ping from Saas and Self-managed, 28d roll-ups):
Number of GitLab Migrations attempted- Number of finished GitLab Migrations - number of group or project migration that finished including migrations that were partially successful (e.g. some MRs in a project were not migrated in project migration, or some projects or subgroups were not migrated in group migration).
- Number of failed GitLab Migrations - number of group or project migration that failed with error and not with timeout. A group or project migration will be marked as failed only when a major issue happens. For group migration, it is when the group couldn't be created. For project migrations, it is when the project couldn't be created, or the repository wasn't migrated.
- Number of GitLab Migrations that had timeout - number of group or project migration that failed because of timeout. Data could have been migrated. If the migration takes too long to complete, the migration is interrupted and marked as timeout.
To iterate, we will start with less detail, only showing success and failure, and no partial successes.
Out of scope
- Number of fully successful migrations
- Build a Sisense dashboard to show this data over time
Edited by Magdalena Frankiewicz