I know I can easily get the total number of agents used during a build from the annotation file. I'm interested in getting the max concurrent fanout of agents used during a build (i.e. ElectricInsight reports 36 agents were used during the build; but only 32 were actually running concurrently).
I can visually surmise this value from ElectricInsight by drawing an imaginary vertical line through the graph at a point where it appears to be running the most jobs in parallel, but I'd rather rely on an actual number generated by the system. How can I ascertain this number?
Answer by eric melski · Sep 10, 2013 at 07:40 PM
I wrote An Agent Utilization Report for ElectricInsight some time ago to show this information graphically.
This makes it easy to see, for example, that for about 2500 seconds of a build, there were 48 agents in use. For another ~800 seconds worth of the build, only 1 agent was in use. For a little bit, there were no agents in use.
You can download the source from my GitHub repo. Usage instructions are in the blog post.
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.