Skip to content

Track usage and adoption of the NuGet Repository

Problem to solve

NuGet is a C#/.NET package manager that was designed to help developers create and share their binaries. The GitLab NuGet Repository allows users to build, publish and packages right alongside their source code and pipelines.

In order to better understand adoption and usage of this feature, we need to add tracking to key events and actions of the NuGet Repository.

Intended users

Proposal

  • Add tracking for key actions for the GitLab NuGet Repository.

Snowplow actions:

API actions

  1. push_package
  2. pull_package
  3. delete_package

These will all have a snowplow category of API::NuGetPackages, following the convention used within the container registry API.

UI actions

  1. delete_package
  2. pull_package (download the package via the UI)

These should have a snowplow category different than what is used in the API so the metrics can be viewed separately.