Instrument self-managed data for Manage:Import North Star
Summary
Currently, the North Star Metric for Import shows only the data for GitLab.com (Saas). However, we need to track the self-managed instances, as well.
(current screenshot of the NSM chart)
In order to start tracking the self-managed instances, we need to instrument usage pings to collect the total number of projects created and the number of imported projects.
We will use this data to calculate the Percentage of new projects that are imported.
Proposal
Per this comment, implement:
- a counter counting the number of imported projects over the last 28 days: it could be named
counts_monthly.imported_projects.total
- a counter counting the number of projects created over the last 28 days: it could be named
counts_monthly.projects
(if this counter already exists, no need to implement this again, just note the existing counter)
Additional details
This counter has already been implemented once in the past as projects_imported.total
, but was later invalidated by #297432 (closed).
Definition of done
- We are able to query data in Sisense on our usage ping data containing information about projects created and projects imported.