Hi team,
I was wondering if there is method to get the queue age or the timestamp of the oldest message from a specific queue.
I've made some researches but didn't find anything related to this metric. I've also read that the producer can set a timestamp in the header of the message and in this way the head_message_timestamp property will be set on the queue side. Am I right?
I want to be able to get this metric without involving the development team, to be aware of the producer and the consumer.
I've enabled the RabbitMQ Message Timestamp Plugin which is supposed to automatically timestamp all messages that arrive in the queue but the head_message_timestamp property is still null.
In the official documentation for the head_message_timestamp property it is stated that "The timestamp property of the first message in the queue, if present. Timestamps of messages only appear when they are in the paged-in state".
Is there a way to accomplish this this task?
Regards,
Adrian.