Add missing storage_shard label to gitlab_redis_client_requests_total
What does this MR do and why?
This MR adds the missing storage_shard
label to the gitlab_redis_client_requests_totals
counter. I also added a refactor so that we do not miss out storage labels in future changes of a similar nature.
This is a follow-up to !147746 (merged).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.