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

Retrieve assigned request for agent #9

Open
EwanNoble opened this issue Jul 15, 2019 · 4 comments
Open

Retrieve assigned request for agent #9

EwanNoble opened this issue Jul 15, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@EwanNoble
Copy link
Contributor

I am trying to retrieve all agents and see if they have a currently assigned request, however if I join the two metrics:

azure_devops_agentpool_agent_info
+ on(agentPoolAgentID) group_left() (azure_devops_agentpool_agent_job)

it only returns agents that have an assigned request but not the rest. I am trying to graph agent pool utilisation and need a way to find used agents / total agents.
Thanks

@EwanNoble
Copy link
Contributor Author

If this is something difficult to query then perhaps a flag label on the agent like this? #10

@EwanNoble
Copy link
Contributor Author

Another alternative would be to add a separate metric for agentPoolUtilisation as a number

@chelnak
Copy link

chelnak commented Aug 13, 2019

Bump

@mblaschke
Copy link
Member

hm.. will have a look in the next days

@mblaschke mblaschke added the enhancement New feature or request label Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants