Currently job metrics are labelled with the runner_type github-hosted if the runs-on does not contain self-hosted. Not all non-github-hosted runners contain the self-hosted runs-on. I propose changing the logic for determining when a runner is self and github-hosted.
Also, exposing the runs-on list values as a label on the metric will improve visibility as to which runner/group are picking up the job.
Currently job metrics are labelled with the
runner_typegithub-hostedif the runs-on does not containself-hosted. Not all non-github-hosted runners contain the self-hosted runs-on. I propose changing the logic for determining when a runner is self and github-hosted.Also, exposing the runs-on list values as a label on the metric will improve visibility as to which runner/group are picking up the job.