Fetch logs for a container image usage statistics to assist for product decision
Details
- Point of contact for this request: @vtak
- If a call is needed, what is the proposed date and time of the call: N.A.
- Additional call details (format, type of call): N.A.
SRE Support Needed
Context:
I was trying to get this information about the usage statistics for a container image(http://registry.gitlab.com/gitlab-org/remote-development/gitlab-rd-web-ide-docker
) but could not find it. Looking at the container registry API docs and Investigate: Download counter for container images (gitlab-org/gitlab#222194 - closed) , it looks like there is no self-serve way to achieve this in GitLab. I asked our Infrastructure team internally on Slack if they can help here. With help from @ayeung and @jaime
, I was able to get some information related to this - https://log.gprd.gitlab.net/app/r/s/PQaFr
We need this information as an input for some product decisions to deprecate few things.
I tried following https://gitlab.com/gitlab-com/runbooks/-/blob/master/docs/logging/logging_gcs_archive_bigquery.md?plain=0 but do not have the necessary permissions to query it. @ayeung suggested to create this issue. (source).
Ask
The container image we are interested in is registry.gitlab.com/gitlab-org/remote-development/gitlab-rd-web-ide-docker
. It has only 1 tag 0.2-alpha
. We would like to get some metrics like
- Total Number of times the image has been pulled for the last 1 year split by month.
/cc @michelle-chen