-
Is your feature request related to a problem? Please describe.We are trying to decrease the max_message_size from the very generous (for us) default to something much smaller. We are not able to easily pick a new max because we don't have metrics on it. Describe the solution you'd likeIdeally i'd be able to get the message size info through the Prometheus exporter, and the metric would be at queue level. Describe alternatives you've consideredNo response Additional contextWe are using Celery |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
It is not a metric that exists in RabbitMQ, so there's nothing to expose to Prometheus. Our team won't have the capacity to work on this metric for 4.0 but you are welcome to investigate it and share a design before you spend any time actually implementing it. |
Beta Was this translation helpful? Give feedback.
-
We are interested in this metric too and would like to implement it To tune Keeping track of exact max value is a bit trickier than simple Alternatively instead a histogram of message sizes can be tracked with Although MQTT does not enforce the STOMP currently proxies through AMQP 0.9.1 (so it should be covered) Keeping track of max message size per-queue is not strictly necessary
Alternatively per-queue metrics can be updated outside the queue Another idea is instead of per-queue only track per-queue-type sizes. I'd appreciate all feedback from the Core Team, especially in these open questions:
(Of course if the answer is "both" for any of the questions they can |
Beta Was this translation helpful? Give feedback.
-
This is being implemented in #12087 (on protocol level, not queue-level, and not for streams) |
Beta Was this translation helpful? Give feedback.
-
Thanks @gomoripeti and @johanrhodin! |
Beta Was this translation helpful? Give feedback.
Thanks @gomoripeti and @johanrhodin!
#12342 resolves this issue.
This new metric will be available in RabbitMQ 4.1.