Add a GitLab dedicated metric
What does this MR do and why?
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/361211
We want to add a metric that makes it possible to distinguish the GitLab Dedicated instances.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Make sure that all of the database migrations have been ran:
bundle exec rake db:migrate
- Open the rails console
- Generate a new service ping:
sp = Gitlab::Usage::ServicePingReport.for(output: :all_metrics_values)
- Make sure that the new metric has been added into it - this should not raise an error:
sp.fetch("gitlab_dedicated")
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Michał Wielich