Revert "Revert "Display ra open file stats on queue and node overview pages""

This reverts commit 8665a9633a983d34279ca7b9b7822fcddc80bcbf.
This commit is contained in:
Diana Corbacho 2018-06-14 09:10:16 +01:00 committed by kjnilsson
parent bc99f0e4ee
commit cba53b4d95
2 changed files with 18 additions and 0 deletions

View File

@ -346,6 +346,18 @@
</table>
</div>
<div class="box">
<h3>Quorum queue open file metrics</h3>
<table class="facts">
<% for(var k in node.ra_open_file_metrics) { %>
<tr>
<th><%= k %></th>
<td><%= node.ra_open_file_metrics[k] %></td>
</tr>
<% } %>
</table>
</div>
<h3>Plugins <span class="help" id="plugins"></span></h3>
<table class="list">
<tr>

View File

@ -121,6 +121,12 @@
<th>Consumer utilisation <span class="help" id="queue-consumer-utilisation"></th>
<td><%= fmt_percent(queue.consumer_utilisation) %></td>
</tr>
<% if (queue.hasOwnProperty('members')) { %>
<tr>
<th>Open files</th>
<td><%= fmt_table_short(queue.open_files) %></td>
</tr>
<% } %>
</table>
<table class="facts">