<div dir="ltr">Hello,<div><br></div><div>We're polling the rabbitmq management REST API for stats and would like some help interpreting the response. (If the responses are documented somewhere, a pointer to that will suffice, but we weren't able to find said documentation.)</div><div><br></div><div>The response looks like</div><div><br></div><div><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">{
  "node": "rabbit@node2",
  "arguments": {},
  "auto_delete": false,
  "durable": true,
  "vhost": "/",
  "name": "NAME",
  "consumer_details": [
    {
      "arguments": {},
      "ack_required": false,
      "exclusive": false,
      "consumer_tag": "scooper",
      "queue": {
        "vhost": "/",
        "name": "dropsonde"
      },
      "channel_details": {
        "peer_host": "IP ADDRESS",
        "peer_port": 33421,
        "connection_name": "NAME",
        "number": 1,
        "name": "NAME"
      }
    }
  ],
  "deliveries": [
    {
      "channel_details": {
        "peer_host": "IP",
        "peer_port": 33421,
        "connection_name": "NAME",
        "number": 1,
        "name": "NAME"
      },
      "stats": {
        "deliver_get_details</span><wbr style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">": {
          "rate": 1.2
        },
        "deliver_get": 39945,
        "deliver_no_ack_deta</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">ils": {
          "rate": 1.2
        },
        "deliver_no_ack": 39945
      }
    }
  ],
  "policy": "test-queue",
  "messages_unacknowle</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">dged_details": {
    "rate": 0
  },
  "messages_unacknowle</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">dged": 0,
  "messages_ready_deta</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">ils": {
    "rate": 0
  },
  "messages_ready": 0,
  "messages_details": {
    "rate": 0
  },
  "messages": 0,
  "message_stats": {
    "publish_details": {
      "rate": 1
    },
    "publish": 39946,
    "deliver_no_ack_deta</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">ils": {
      "rate": 1.2
    },
    "deliver_no_ack": 39945,
    "deliver_get_details</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">": {
      "rate": 1.2
    },
    "deliver_get": 39945
  },
  "exclusive_consumer_</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">tag": "",
  "consumers": 1,
  "memory": 109928,
  "slave_nodes": [
    "rabbit@node0",
    "rabbit@node1"
  ],
  "synchronised_slave_</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">nodes": [
    "rabbit@node0",
    "rabbit@node1"
  ],
  "backing_queue_statu</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">s": {
    "mirror_senders": 0,
    "mirror_seen": 0,
    "target_ram_count": "infinity",
    "pending_acks": 0,
    "len": 0,
    "q4": 0,
    "q3": 0,
    "delta": [
      "delta",
      "undefined",
      0,
      "undefined"
    ],
    "q2": 0,
    "q1": 0,
    "ram_msg_count": 0,
    "ram_ack_count": 0,
    "next_seq_id": 0,
    "persistent_count": 0,
    "avg_ingress_rate": 0,
    "avg_egress_rate": 0,
    "avg_ack_ingress_rat</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">e": 0,
    "avg_ack_egress_rate</span><wbr style="margin-top: 10px; color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">": 0
  },
  "status": "running",
  "incoming": [
    {
      "exchange": {
        "vhost": "/",
        "name": ""
      },
      "stats": {
        "publish_details": {
          "rate": 1
        },
        "publish": 39946
      }
    }
  ]
}</span><br></div><div><span style="color: rgb(68, 68, 68); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);"><br></span></div><div><span style="color: rgb(68, 68, 68); font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);"><font face="arial, sans-serif">Specifically, we're wondering about </font><font face="courier new, monospace">message_stats</font><font face="arial, sans-serif"> and the difference between </font><font face="courier new, monospace">deliver_get</font><font face="arial, sans-serif"> and </font><font face="courier new, monospace">deliver_no_ack</font><font face="arial, sans-serif">. Our use case is a tool that periodically reports the number of messages published to our queue as well as the number of messages delivered (i.e. reporting flow through the queue). (Or maybe </font><font face="courier new, monospace">message_stats</font><font face="arial, sans-serif"> is the wrong place to look for that information?)</font></span></div><div><span style="color: rgb(68, 68, 68); font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);"><font face="arial, sans-serif"><br></font></span></div><div><span style="color: rgb(68, 68, 68); font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);"><font face="arial, sans-serif">Thanks for the help!</font></span></div><div><span style="color: rgb(68, 68, 68); font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);"><font face="arial, sans-serif">– John Tuley and John Foley</font></span></div><div><font color="#444444" face="arial, sans-serif"><span style="font-size: 12px; line-height: 18px; white-space: pre; background-color: rgb(248, 248, 248);">Cloud Foundry</span></font></div></div>