Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 2cdfe24

Browse files
dcorbachokjnilsson
authored andcommitted
Revert "Revert "Display ra open file stats on queue and node overview pages""
This reverts commit 8665a96.
1 parent b0c3d92 commit 2cdfe24

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

priv/www/js/tmpl/node.ejs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,18 @@
346346
</table>
347347
</div>
348348
349+
<div class="box">
350+
<h3>Quorum queue open file metrics</h3>
351+
<table class="facts">
352+
<% for(var k in node.ra_open_file_metrics) { %>
353+
<tr>
354+
<th><%= k %></th>
355+
<td><%= node.ra_open_file_metrics[k] %></td>
356+
</tr>
357+
<% } %>
358+
</table>
359+
</div>
360+
349361
<h3>Plugins <span class="help" id="plugins"></span></h3>
350362
<table class="list">
351363
<tr>

priv/www/js/tmpl/queue.ejs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@
121121
<th>Consumer utilisation <span class="help" id="queue-consumer-utilisation"></th>
122122
<td><%= fmt_percent(queue.consumer_utilisation) %></td>
123123
</tr>
124+
<% if (queue.hasOwnProperty('members')) { %>
125+
<tr>
126+
<th>Open files</th>
127+
<td><%= fmt_table_short(queue.open_files) %></td>
128+
</tr>
129+
<% } %>
124130
</table>
125131

126132
<table class="facts">

0 commit comments

Comments
 (0)