Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agents in with multiple queues only reporting one queue #117

Open
neshmi opened this issue Sep 20, 2021 · 3 comments
Open

Agents in with multiple queues only reporting one queue #117

neshmi opened this issue Sep 20, 2021 · 3 comments

Comments

@neshmi
Copy link

neshmi commented Sep 20, 2021

I'm particularly interested in being able to observe our various queues and balance agents accordingly. So, as an example, one metric is the "buildkite_queues_total_agent_count" metric. From here, I would be focusing on the percent busy per queue, etc. However, this is one example where the agents seem to only be reporting for a single queue. Each of those queues have several agents assigned to them. The deploy queue actually only has one, and is correct. The other 58 agents share multiple queues, but only show up in the "maint" queue for some reason. So there are a total of 59 agents, and maint is the one queue 58 of the agents share, but each of the other queues should be showing a number of agents as well. I'm using the prometheus backend for this, and Im running version 5.2.1.

buildkite_queues_total_agent_count{queue="deploy"} 1
buildkite_queues_total_agent_count{queue="build"} 0
buildkite_queues_total_agent_count{queue="k8s"} 0
buildkite_queues_total_agent_count{queue="k8s-build"} 0
buildkite_queues_total_agent_count{queue="elastic"} 0
buildkite_queues_total_agent_count{queue="master"} 0
buildkite_queues_total_agent_count{queue="master-tests"} 0
buildkite_queues_total_agent_count{queue="prod-deploy"} 0
buildkite_queues_total_agent_count{queue="maint"} 58
buildkite_queues_total_agent_count{queue="pipeline"} 0
@neshmi
Copy link
Author

neshmi commented Sep 20, 2021

Also as a note, I have to specify the queues with the -queue switch to get any queue that isn't maint or deploy to show up.

@calvinbui
Copy link

i'm having the same problem. Some queues are missing completely as well.

@linus345
Copy link

Bumping this since we're also seeing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants