Skip to content

Add counter to count manual job retries

Reuben Pereira requested to merge rp/add-retries-count-metric into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Add a counter to count manual job retries. The metric will be incremented when a webhook is received with a status of "created" and job_retries larger than 0. This ensures that the metric is only incremented once per retry, since there should be only one webhook where the job is in the "created" status.

gitlab-com/gl-infra/delivery#2466 (closed)

Author Check-list

  • Has documentation been updated?

Merge request reports