Populate metrics only using data from auto deploy pipelines
What does this MR do and why?
Describe in detail what your merge request does and why.
-
We want to populate the
job_retries
metric only for auto-deploy and downstream pipelines. Use pipeline names to filter out events from other pipelines. -
Rename the
job_retries
metric toauto_deploy_job_retries
, so that the metric can track only auto deploy pipelines. If we need to track retries in other pipelines, we can introduce additional metrics. -
Rename
events_total
metric to job_events_total. Theevent_type
label is now not required. This reduces the cardinality of the metric since now it only tracks job events, not all events.
gitlab-com/gl-infra/delivery#2466 (closed)
Author Check-list
-
Has documentation been updated?
Edited by Reuben Pereira