Opened 4 years ago

Last modified 2 years ago

#3256 new enhancement

Web view to see how loaded a buildslave is

Reported by: ben.boeckel Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords: webstatus


It would be nice to have a view to see how much time a buildslave spends doing buildbot work every day. One thing I can think of is for a calendar view to "fill up" each day for how much time was spent in buildbot work that day. This would help us determine what machines would be eligible for a new build configuration.

Change History (4)

comment:1 Changed 4 years ago by tardyp

  • Milestone changed from undecided to 0.9.+
  • Version changed from 0.8.10 to master

This a good idea. move for nine

comment:2 Changed 4 years ago by ben.boeckel

Here is a commit I have on our local instance which does the calculations and updates the buildslaves page with the information. Really simple (and probably naive) approach. Known caveats:

  • if a builder/slave pair disappears, it drops off from the calculations for the slave;
  • windowed on "now", not midnight; and
  • not very efficient.

Having calculations for each builder would be nice as well (though for our setup, each builder is only on one slave).

comment:3 Changed 4 years ago by ben.boeckel

It also doesn't support duty cycles greater than 1 (when multiple builds run at a time) properly. The bar instead just overflows (which is hidden by CSS).

Note: See TracTickets for help on using tickets.