Port usage ping from EE to CE
We want to add the EE usage ping feature to CE (#23361 (closed)).
We need to fine tune the content of what is sent. For instance, the
license_md5 in CE makes no sense.
Data that we will collect will be anonymous. We don't want to record who the owner of the instance is, nor which email address is used for the administrators of the instance.
- Currently, usage ping is defined by a license id. We need to add a way to identify a unique instance in order to track the usage over time, but without knowing who the instance actually is: UUID.
Add a new field in the usage ping to indicate that the ping is CE
Get rid of the following fields from the JSON payload (send NULL for those fields?):
- In the statistics themselves:
- Once set, usage ping preferences should remain unmodified by GitLab when updating to another version.
- Usage ping is sent from there: https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/gitlab/usage_data.rb