Agent monitoring

Do we have measurement possibilities using plugins/API/Script to get information about the current load of the Jenkins Worker to answer questions like:

  • How many jobs run per day and how long is the duration of each job (and the sum of all of them)?
  • How often do we have waiting periods (because an existing job is blocking the execution of the next one)?
  • Are the different jobs using the full power of the VM (all Kernels), or is communication the bottleneck?

Metrics and additional plugins depending on your monitoring software (e.g. Prometheus metrics ) will be of use.

But speaking from previous experience, monitoring Jenkins is a complex task that no single plugin covers even halfway. You will need to set up more monitoring on your agents, and come up with additional schemes to answer your specific questions based on the data available.