[rabbitmq-discuss] Management HTTP API

Simon MacMullen simon at rabbitmq.com
Tue Jul 30 15:48:47 BST 2013


On 30/07/13 15:40, Chris Nicel wrote:
>  From reading the API page (http://myrabbitserver:15672/api) I am aware
> of the sample age and sample increment parameters.

Argh. That documentation is wrong.

I'll update it, but there are in fact six parameters:

lengths_age
lengths_incr
msg_rates_age
msg_rates_incr
data_rates_age
data_rates_incr

since some queries can return more than one set of samples (i.e. the 
overview returns lengths and message rates)

So you want a URL like:

http://server:15672/api/overview?lengths_age=3600&lengths_incr=60&msg_rates_age=3600&msg_rates_incr=60

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list