Skip to content

metrics: extract label definition and validation

Alessio Caiazza requested to merge metrics-regexp-validator into master

What does this MR do and why?

In preparation for gitlab-com/gl-infra/delivery#2690 (closed) this merge request refactors our label implementation in delivery-metrics introducing the concept of a regexp based metrics.

This MR should be easier to review commit by commit.

  1. extract label definition and validation into its own package
  2. introduce a regexp based label
  3. provide a ready-made GitLab minor version label to apply for release pressure metrics

Related to: gitlab-com/gl-infra/delivery#2690 (closed)

Edited by Alessio Caiazza

Merge request reports