gitlab-ci-pipelines-exporter
gitlab-ci-pipelines-exporter copied to clipboard
gitlab_ci_pipeline_job_run_count is counted for old runner instead on new one
Steps to reproduce:
- Run pipeline job with RUNNER_1
- Run the same job with RUNNER_2 after the previous run
Actual result: gitlab_ci_pipeline_job_run_count has the label "runner_description"=RUNNER_1 for a while and then it changes to "runner_description"=RUNNER_2
Expected result: gitlab_ci_pipeline_job_run_count has the correct label at once. Please note: it works perfectly for gitlab_ci_pipeline_job_id.
I guess you did it intentionally to reduce the metrics count and to detect job runs as runner_description changes all the time
