Skip to content

Change deployment_blocker metric labels to a string instead of hash

What does this MR do and why?

Describe in detail what your merge request does and why.

This is a follow-up MR related to this one: !3158 (merged)

When running the deployments:blockers_metrics rake task, it encounters an issue in setting the deployment_blocker due to the labels being in hash format instead of strings. This MR proposes changing it to string and resolving the page not found error in the job. This will also remove the call for the reset method for this metric.

Related Issue: gitlab-com/gl-infra/delivery#20146 (closed)

Content

  • Change deployment_blocker metric labels to a string instead of a hash
  • Remove deployment_blocker metric reset

Author Check-list

  • Has documentation been updated?
Edited by Mawreen Dela Cruz

Merge request reports