Skip to content

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 24, 2025

This command displays cluster-wide message size
statistics. It's less detailed than what can be
retrieved from the Prometheus endpoint, but
it'll be available to all users, regardless of their monitoring setup, or lack thereof.

Example:

$ rabbitmq-diagnostics -n rabbit-1 message_size_stats
Gathering message size statistics from cluster via rabbit-1@K6L59PF0JR ...
┌────────────────────────┬───────┬────────────┐
│ Message Size           │ Count │ Percentage │
├────────────────────────┼───────┼────────────┤
│ below 100B             │ 1409  │ 19.90      │
├────────────────────────┼───────┼────────────┤
│ between 100B and 1KB   │ 2847  │ 40.21      │
├────────────────────────┼───────┼────────────┤
│ between 1KB and 10KB   │ 40    │ 0.56       │
├────────────────────────┼───────┼────────────┤
│ between 10KB and 100KB │ 2785  │ 39.33      │
├────────────────────────┼───────┼────────────┤
│ between 100KB and 1MB  │ 0     │ 0.00       │
├────────────────────────┼───────┼────────────┤
│ between 1MB and 10MB   │ 0     │ 0.00       │
├────────────────────────┼───────┼────────────┤
│ between 10MB and 50MB  │ 0     │ 0.00       │
├────────────────────────┼───────┼────────────┤
│ between 50MB and 100MB │ 0     │ 0.00       │
├────────────────────────┼───────┼────────────┤
│ above 100MB            │ 0     │ 0.00       │
└────────────────────────┴───────┴────────────┘
```<hr>This is an automatic backport of pull request #14560 done by [Mergify](https://mergify.com).

mkuratczyk and others added 3 commits September 24, 2025 04:11
This command displays cluster-wide message size
statistics. It's less detailed than what can be
retrieved from the Prometheus endpoint, but
it'll be available to all users, regardless of their
monitoring setup, or lack thereof.

(cherry picked from commit bf3c378)
(cherry picked from commit 4b7230b)
The whole point of introducing rabbitmq-diagnostics,
rabbitmq-queues, rabbitmq-streams is to stop
growing the ctl command list, which has been massive
even five years ago.

(cherry picked from commit 42e99dd)
@michaelklishin michaelklishin added this to the 4.2.0 milestone Sep 24, 2025
@michaelklishin michaelklishin merged commit 9fd8231 into v4.2.x Sep 24, 2025
286 of 287 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.2.x/pr-14560 branch September 24, 2025 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants