Is there a statistic to show how often all the build agents are in use?

Answered

Hello,

We currently have 3 build agents and 4 teams with CI and deployment build chains for multiple environments defined.

It's not uncommon to see 20+ items in the build queue, and depending upon where you are in the build queue it can take 10-20 minutes to make it through. That of course feels like a glacial age when you're at the end of the build queue.

Some folks are asking for more build agents. Management is asking for statistics on how often in a work day do we actually get these scenarios where all build agents are used and items are in the build queue.

Does this information exist? If so can someone teach me how to gather this?

Thank you.

0
1 comment

Hi John,

There are several ways to get statistics about queues and agent usage.
-Each Build Configuration has a statistic called "TimeSpentInQueue", which will give you the amount of time every build had to wait in the queue before it was getting processed, as calculated by the system.
-The "Agents" page on the server has a "Statistics" tab that will show you a graphic display of how all your agents have been used over time.

This two are useful for checking on the fly with access to the Web UI. If you want to automate it and provide your own tooling for it, there's also the possibility to extract the build statistical data through our REST API (docs)

0

Please sign in to leave a comment.