actions / actions/actions-runner-controller

gha_job_queue_duration_seconds metric missing

Open
#4,431 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug gha-runner-scale-set
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

Checks
Controller Version

0.14.0

Deployment Method

Helm

Checks
  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
This was brought up once in the issue https://github.com/actions/actions-runner-controller/issues/3423

Metrics were added for scale sets in https://github.com/actions/actions-runner-controller/pull/2559

But it seems that the `gha_job_queue_duration_seconds` histogram, or some equivalent, was missing. This would be a really useful metric to have again!
Describe the bug

Described already

Describe the expected behavior

The metric should be produced

Additional Context
N/A
Controller Logs
N/A
Runner Pod Logs
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the scale-set metrics added in pull request #2559 and the earlier discussion in issue #3423. Identify the controller entry point where those metrics are registered, then verify the expected gha_job_queue_duration_seconds histogram and its tests or metric output. Done means the metric is produced for the relevant scale-set workflow and coverage confirms it.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, helm, kubernetes
Domain
devops, infrastructure, observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.