gitlab-ci-pipelines-exporter icon indicating copy to clipboard operation
gitlab-ci-pipelines-exporter copied to clipboard

gitlab_ci_pipeline_job_run_count is counted for old runner instead on new one

Open mklpanasiuk opened this issue 1 year ago • 0 comments

Steps to reproduce:

  1. Run pipeline job with RUNNER_1
  2. 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

image

mklpanasiuk avatar Mar 23 '23 12:03 mklpanasiuk