[rabbitmq-discuss] getting the queue depths
billy.chasen at gmail.com
Wed Feb 4 05:50:06 GMT 2009
cool, thanks -- sorry for not RTFM :)
On Tue, Feb 3, 2009 at 6:11 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> On Tue, Feb 3, 2009 at 4:38 AM, Billy Chasen <billy.chasen at gmail.com> wrote:
>> I'm using py-amqplib and could not find a way to get the queue depth.
>> I know I can get it from rabbitmqctl list_queues -- but that needs to
>> be ran as either root or rabbitmq, otherwise I get an error
>> Any way to programmatically get the queue depths? I feel like there
>> should be a call, chan.queue_size(name)
> Have you had a look at the documentation for the queue.declare_ok command?
> It will tell you what the message count is.
> BTW, if you google this list for queue depth, you will find out how that works.
> Also this pattern seems to be used a lot with the Ruby AMQP client.
More information about the rabbitmq-discuss