Add queue lengths to the zuul status page.

Change-Id: Ib147641c6c41aedc3deea30b5b1e3e5f7b68c103
Reviewed-on: https://review.openstack.org/23109
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2013-02-27 11:26:09 -08:00 committed by Jenkins
parent aae430b33c
commit 2a225b730c
2 changed files with 11 additions and 0 deletions

View File

@ -122,6 +122,11 @@ a:link {
operation of the OpenStack project. For more information, please see
<a href="http://ci.openstack.org/zuul">the Zuul reference manual.</a>
</p>
<p>
Queue lengths: <span id="trigger_event_queue_length"></span> events,
<span id="result_event_queue_length"></span> results.
</p>
</div>
<div class="container">

View File

@ -140,6 +140,12 @@ function update() {
html += '<br style="clear:both"/>';
$("#pipeline-container").html(html);
$("#trigger_event_queue_length").html(
data['trigger_event_queue']['length']);
$("#result_event_queue_length").html(
data['result_event_queue']['length']);
});
}