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:
parent
aae430b33c
commit
2a225b730c
@ -122,6 +122,11 @@ a:link {
|
|||||||
operation of the OpenStack project. For more information, please see
|
operation of the OpenStack project. For more information, please see
|
||||||
<a href="http://ci.openstack.org/zuul">the Zuul reference manual.</a>
|
<a href="http://ci.openstack.org/zuul">the Zuul reference manual.</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Queue lengths: <span id="trigger_event_queue_length"></span> events,
|
||||||
|
<span id="result_event_queue_length"></span> results.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -140,6 +140,12 @@ function update() {
|
|||||||
|
|
||||||
html += '<br style="clear:both"/>';
|
html += '<br style="clear:both"/>';
|
||||||
$("#pipeline-container").html(html);
|
$("#pipeline-container").html(html);
|
||||||
|
|
||||||
|
$("#trigger_event_queue_length").html(
|
||||||
|
data['trigger_event_queue']['length']);
|
||||||
|
$("#result_event_queue_length").html(
|
||||||
|
data['result_event_queue']['length']);
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user