Skip to content

Commit 9efa0d9

Browse files
ikavgomichaelklishin
authored andcommitted
RMQ-1263: Shovel Management - add help strings for shovel counters
(cherry picked from commit 8e79a7f500c2df355f3ec7ac1fa1bdd3a8dff6a4)
1 parent 6e871f6 commit 9efa0d9

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

deps/rabbitmq_shovel_management/priv/www/js/shovel.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,19 @@ HELP['shovel-amqp10-auto-delete'] =
148148
<dt><code>After num messages</code></dt>\
149149
<dd>The shovel will delete itself after the given number of messages have been transferred.</dd>\
150150
</dl>';
151+
152+
HELP['shovel-remaining-counter'] =
153+
'When not <code>unlimited</code>: number of messages left to transfer before this shovel will be deleted.';
154+
155+
HELP['shovel-remaining-unacked-counter'] =
156+
'When ack mode is <code>on-confirm</code> and Remaining is not <code>unlimited</code>: number of messages not yet acknowledged at the source.';
157+
158+
HELP['shovel-pending-counter'] =
159+
'When destination connection is blocked or doesn\'t have enough credits: number of messages that were cached.';
160+
161+
HELP['shovel-forwarded-counter'] =
162+
'Number of forwarded messages.';
163+
151164
function remove_params_with(sammy, prefix) {
152165
for (var i in sammy.params) {
153166
if(i.startsWith(prefix)) {

deps/rabbitmq_shovel_management/priv/www/js/tmpl/shovels.ejs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<th>Virtual Host</th>
1818
<% } %>
1919
<th>State</th>
20-
<th>Remaining</th>
21-
<th>Remaining Unacked</th>
22-
<th>Pending</th>
23-
<th>Forwarded</th>
20+
<th>Remaining <span class="help" id="shovel-remaining-counter"></span></th>
21+
<th>Remaining Unacked <span class="help" id="shovel-remaining-unacked-counter"></span></th>
22+
<th>Pending <span class="help" id="shovel-pending-counter"></span></th>
23+
<th>Forwarded <span class="help" id="shovel-forwarded-counter"></span></th>
2424
<th colspan="3">Source</th>
2525
<th colspan="3">Destination</th>
2626
<th>Last changed</th>

0 commit comments

Comments
 (0)