Skip to content

feat: add job_duration_total metric

What does this MR do?

Adds a job_duration_total metric.

Why was this MR needed?

We would like to be able to see the total time spent on CI over a period of time in Prometheus.

What's the best way to test this MR?

Spin up the gitlab_runner and make sure the new metric makes sense as published.

What are the relevant issue numbers?

Edited by Nick Palmer

Merge request reports

Loading