Define tresholds and alerts for the new registry database/GC metrics in gprd
## Context This is part of the work to upgrade and migrate the GitLab.com container registry to a new version backed by a metadata database and online garbage collection (https://gitlab.com/groups/gitlab-org/-/epics/5523). This will be achieved following the gradual migration plan detailed in https://gitlab.com/gitlab-org/container-registry/-/issues/374. This specific epic is meant to collect the tasks required for fine-tuning monitoring and defining alert thresholds for the new registry metrics (database, online GC) before starting [Phase 1]https://gitlab.com/groups/gitlab-org/-/epics/6426) of the migration plan in production. The new registry introduces two new major features, the metadata database, and online GC. To support observability for both of these, a set of new Prometheus metrics and Grafana dashboards have been created. ## Problem We currently don't have any thresholds/alerts for the (application side) database and online GC metrics. ## Solution Review metrics/dashboards and define/implement proper thresholds and alerts for the new database and online GC metrics. ### Status 2021-10-07 All planned changes completed.
epic