Send and receive a Usage Ping from GitLab to Versions app locally
Overview
The goal of this issue is to introduce you to how usage ping works. Your first task is to locally replicate the sending and receiving of a Usage Ping. In order to do this, you will traverse the gitlab and versions codebases to see how a usage ping is created and received.
Please work with your onboarding buddy @mikolaj_wawrzyniak if you have any questions.
Steps
-
Read the Product Intelligence Guide -
Read the Usage Ping Guide -
Clone and start https://gitlab.com/gitlab-org/gitlab -
Clone and start https://gitlab.com/gitlab-services/version-gitlab-com -
Setup versions to listen for incoming usage pings -
Point gitlab to the versions endpoint instead of the default endpoint -
In gitlab via rails console, manually trigger a usage ping -
In versions via rails console, check that a usage ping was successfully received, parsed, and stored in the Versions database.
Edited by Piotr Skorupa