Adds gitlab_runner_health_failures metric
What does this MR do?
Exposes an additional metric:. gitlab_runner_health_failures
.
Why was this MR needed?
Exposes an additional observable metric. The main use case for this metric will be a follow-up MR to the gitlab-runner chart where the livenessProbe
can check this metric and fail a liveness check for a runner in a Kubernetes pod.
Are there points in the code the reviewer needs to double check?
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master
- branch was rebased