Move cluster_metrics.yml to common_metrics.yml format and import to DB
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
As a part of https://gitlab.com/gitlab-org/gitlab-ce/issues/63044, we have recently refactored our common_metrics importer and added a new group for cluster metrics. The next step in moving cluster metrics to the prometheus endpoint is to update cluster_metrics.yml format to the same format as common_metrics.yml and to get them imported into the database.
Improvements
This refactor is a part of https://gitlab.com/gitlab-org/gitlab-ce/issues/63044, which will allow us to support only one way of storing/fetching/alerting metrics.
Risks
Ensure that endpoints that load metrics from the db aren't adversely affected by this new group. I.E. cluster metrics shouldn't show up for environment metrics.
Involved components
cluster_metrics.yml