[rabbitmq-discuss] HTTP monitoring API

tog guillaume.alleon at gmail.com
Mon May 20 05:17:00 BST 2013


Hi

I want to use RabbitMQ to create a distributed task queues on aws. In order
to kill/start ec2 instances, i would need to access the moving average of
queued messages of the last 1/5 minutes. Since this is possible in the web
ui I would guess it is possible as well using the HTTP api.

After some extensive Googling and reading  RabbitMQ in Action I am still not
able to find how to retrieve this information. 

The best I can do is retrieve the following JSON - it might be in there but
I am not sure where :-)

Any idea ?
Thanks

Guillaume

    {
        "memory": 89664,
        "message_stats": {
            "ack": 44,
            "ack_details": {
                "rate": 0.0
            },
            "deliver": 45,
            "deliver_details": {
                "rate": 0.0
            },
            "deliver_get": 45,
            "deliver_get_details": {
                "rate": 0.0
            },
            "publish": 160,
            "publish_details": {
                "rate": 0.0
            }
        },
        "messages": 116,
        "messages_details": {
            "rate": 0.0
        },
        "messages_ready": 116,
        "messages_ready_details": {
            "rate": 0.0
        },
        "messages_unacknowledged": 0,
        "messages_unacknowledged_details": {
            "rate": 0.0
        },
        "idle_since": "2013-05-20 3:22:02",
        "policy": "",
        "exclusive_consumer_tag": "",
        "consumers": 0,
        "backing_queue_status": {
            "q1": 0,
            "q2": 0,
            "delta": [
                "delta",
                "undefined",
                0,
                "undefined"
            ],
            "q3": 0,
            "q4": 116,
            "len": 116,
            "pending_acks": 0,
            "target_ram_count": "infinity",
            "ram_msg_count": 116,
            "ram_ack_count": 0,
            "next_seq_id": 160,
            "persistent_count": 116,
            "avg_ingress_rate": 0.0,
            "avg_egress_rate": 0.0,
            "avg_ack_ingress_rate": 0.0,
            "avg_ack_egress_rate": 0.0
        },




--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/HTTP-monitoring-API-tp26859.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list