This is a simple NodeMonitor to report the "busy/total/configured" executor counts on the Nodes overview page.
It does not define any thresholds to offline "misbehaving" nodes.
Includes a configurable option for the reported column to be colorized:
- blue for "0 busy",
- green for "busy < total",
- unmodified for "busy == total ( == configured)",
- red for "busy > configured" if that ever occurs (e.g. config change during run-time)
NOTE: The "busy" value represents executors actually processing some work, the "configured" value is set in the computer (build agent) connfiguration as the goal for maximum parallelized workload on that agent, and the "total" value represents the actual momentary maximum (usually same as "configured", or larger than it if the configuration was reduced but more executors were running and still remain active -- then the "total" value would shrink over time until it matches "configured").
There is also a configurable option to report the queue pressure for the node: the number of buildable queue items that it could take, using the same detection method as the computer-queue-plugin. Such an item is not necessarily exclusive to this node: another suitable node might pick it up first (e.g. if it comes online, or finishes some other work earlier). When enabled, the column name gains a "/queued" suffix and the reported value gains a space-separated q:N token, e.g. 3/3/2 q:5. If colorizing is also enabled, this queue count is colorized:
- blue for "0 queued",
- green while the queued count does not exceed "configured",
- unmodified while it does not exceed "configured" times a configurable factor "N" (an integer greater than 1 if set, by default 5),
- red beyond that.
-
Colorized "busy/total" example from an earlier version:
-
Colorized "busy/total/cfg" example with an overbooked agent:
-
Colorized "busy/total/cfg queue" examples:
To build, check out the code, experiment, and run mvn package to fire all the required tests. Keep watch on mvn spotless:apply formatting standard.
All source code is licensed under the MIT license.





