Container Registry: Event tracking using the native webhook notifications
This is related to gitlab-org/gitlab#20378 (closed) and gitlab-org/gitlab#205833.
We need to start collecting metrics about the container registry, both for GitLab.com and self-managed instances. This will require the registry to emit event notifications (https://docs.docker.com/registry/notifications/) to a GitLab API endpoint, from where we can process them.
There are two main points of discussion for which we would like to have your collaboration:
-
GitLab.com: We're starting with GitLab.com and Snowplow (gitlab-org/gitlab#20378 (closed)), and for that, we'll need the registry to be configured to emit notifications to the new API endpoint (please see gitlab-org/gitlab#20378 (comment 304396108)).
-
Self-managed instances: Later on we'll need to track events for self-managed instances with Usage Ping (gitlab-org/gitlab#205833), so a way to automate the configuration of the registry webhook notifications and GitLab will likely be required.