-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.319.2
monitoring 1.90.0
java.version 1.8.0_342
The jenkins monitoring "agent" would display the following (relative url: /monitoring/nodes?period=jour):
While the server dashboard (releative url /) would display something like:
We would like to have the Build Queue size tracked by monitoring. Currently, jenkins monitoring "agents" "build queue length" does not reflect the build queue size. The dashboard is verifiably correct because the jobs on the queue are listed.
[JENKINS-69785] monitoring jenkins agents "build queue length" inconsistent with server dashboard
Description |
Original:
The jekins monitoring agent would display the following (relative url: /monitoring/nodes?period=jour):
!image-2022-10-05-14-19-47-200.png! While the server dashboard (releative url /) would display something like (which is correct): !image-2022-10-05-14-24-13-696.png! We would like to have something monitoring the Build Queue size as showing in monitoring. Currently, monitoring jenkins agents "build queue length" does not reflect the build queue length on the dashboard, which is verifiably correct because the jobs on the queue is listed right below. |
New:
The jenkins monitoring "agent" would display the following (relative url: /monitoring/nodes?period=jour):
!image-2022-10-05-14-19-47-200.png! While the server dashboard (releative url /) would display something like: !image-2022-10-05-14-24-13-696.png! We would like to have the Build Queue size showing on dashboard tracked by monitoring. Currently, jenkins monitoring "agents" "build queue length" does not reflect the build queue size, much smaller. The dashboard is verifiably correct because the jobs on the queue are listed. |
Description |
Original:
The jenkins monitoring "agent" would display the following (relative url: /monitoring/nodes?period=jour):
!image-2022-10-05-14-19-47-200.png! While the server dashboard (releative url /) would display something like: !image-2022-10-05-14-24-13-696.png! We would like to have the Build Queue size showing on dashboard tracked by monitoring. Currently, jenkins monitoring "agents" "build queue length" does not reflect the build queue size, much smaller. The dashboard is verifiably correct because the jobs on the queue are listed. |
New:
The jenkins monitoring "agent" would display the following (relative url: /monitoring/nodes?period=jour):
!image-2022-10-05-14-19-47-200.png! While the server dashboard (releative url /) would display something like: !image-2022-10-05-14-24-13-696.png! We would like to have the Build Queue size tracked by monitoring. Currently, jenkins monitoring "agents" "build queue length" does not reflect the build queue size. The dashboard is verifiably correct because the jobs on the queue are listed. |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
In the monitoring plugin, the NodesCollector class uses Jenkins.getInstance().getQueue().getBuildableItems().size(), including buildable and pending items. The monitoring plugin currently counts the items in queue like the Load Statistics in the /manage/load-statistics page.
While the UI probably uses Jenkins.getInstance().getQueue().getItems().length including blocked and waiting items.
The difference you see is probably the blocked items count.