--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
There was a link missing in the previous response, rabbitmqadmin docs are at http://www.rabbitmq.com/management-cli.html.
On Tue, Feb 6, 2018 at 9:10 PM, Michael Klishin <mkli...@pivotal.io> wrote:
I just tried it with a development node and here's one queue object that's returned:see https://rawcdn.githack.com/rabbitmq/rabbitmq-management/v3.7.3/priv/www/doc/stats.html.Your easiest option is to use rabbitmqadmin ().Message stats definitely are returned in the individual queue results as well as listings,
curl -u guest:guest -H "Accept: application/json" -X GET "http://localhost:15672/api/queues" | python -m json.tool
https://gist.github.com/michaelklishin/4afe9507b3cd34cedba0c8556f73a065
On Tue, Feb 6, 2018 at 5:45 PM, Remi Cote <remi....@gmail.com> wrote:
Hi.I want to use the management HTTP API to get the number of messages and consumers on all queues in my system. In fact, I would like to find the HTTP API URI to use to get the same results as if I type the following command at the command line:>>> rabbitmqctl.bat list_queues name messages consumersReading the documentation and several postings, I believe I should get some good results using the following uri:Results show the name of all the queues I have in the system. However, I do not see either messages or consumers entries in the output. If I omit the parameters and only issue the uri "http://localhost:15672/api/queues", I get several entries, but still no messages or consumers or nothing that would relate to that.I am sure this is a simple matter, but I guess I am missing something. Help would be greatly appreciated.Thanks!
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.