diff --git a/deps/rabbitmq_management/priv/www/js/global.js b/deps/rabbitmq_management/priv/www/js/global.js index 7ad667e25302..a99dd560ecd2 100644 --- a/deps/rabbitmq_management/priv/www/js/global.js +++ b/deps/rabbitmq_management/priv/www/js/global.js @@ -253,6 +253,9 @@ var HELP = { 'queue-messages': '

Message counts.

Note that "in memory" and "persistent" are not mutually exclusive; persistent messages can be in memory as well as on disc, and transient messages can be paged out if memory is tight. Non-durable queues will consider all messages to be transient.

', + 'queue-messages-stream': + '

Approximate message counts.

Note that streams store some entries that are not user messages such as offset tracking data which is included in this count. Thus this value will never be completely correct.

', + 'queue-dead-lettered': 'Applies to messages dead-lettered with dead-letter-strategy at-least-once.', diff --git a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs index b611bf30d420..7f2c9e131a55 100644 --- a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs +++ b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs @@ -121,6 +121,10 @@ Readers <%= fmt_table_short(queue.readers) %> + + Segments + <%= fmt_string(queue.segments) %> + <% } %> @@ -128,8 +132,10 @@ Total + <% if (!is_stream(queue)) { %> Ready Unacked + <% } %> <% if (is_quorum(queue)) { %> High priority Normal priority @@ -147,17 +153,23 @@ Messages + <% if (is_stream(queue)) { %> + + <% } else { %> + <% } %> <%= fmt_num_thousands(queue.messages) %> + <% if (!is_stream(queue)) { %> <%= fmt_num_thousands(queue.messages_ready) %> <%= fmt_num_thousands(queue.messages_unacknowledged) %> + <% } %> <% if (is_quorum(queue)) { %> <%= fmt_num_thousands(queue.messages_ready_high) %>