[rabbitmq-discuss] Bug in message_stats from /api/queues?

Gavin M. Roy gmr at meetme.com
Wed May 8 19:20:44 BST 2013


I'm seeing what I think is a counter bug in the message_stats data
structure for queues in 3.1.0, going back as far as I've tested (2.8.5).

I am assuming this is a counter of deliveries via Basic.Get. Am I correct
in this assumption?

If so, It seems that the deliver_get counter is incremented for every
delivery of any type. As a generalization, I we do not use Basic.Get so we
were confused when we saw this # bubble up.

Notice the values directly mirror the deliver #'s for each example:

"message_stats": {
    "ack": 18,
    "ack_details": {
        "rate": 0.0
    },
    "deliver": 18,
    "deliver_details": {
        "rate": 0.0
    },
    "deliver_get": 18,
    "deliver_get_details": {
        "rate": 0.0
    },
    "publish": 18,
    "publish_details": {
        "rate": 0.0
    }
}

"message_stats": {
    "deliver_get": 1487430,
    "deliver_get_details": {
        "interval": 21632564,
        "last_event": 1368035461427,
        "rate": 0.6419989978358597
    },
    "deliver_no_ack": 1487430,
    "deliver_no_ack_details": {
        "interval": 21632564,
        "last_event": 1368035461427,
        "rate": 0.6419989978358597
    }
}

"message_stats": {
    "ack": 2412673,
    "ack_details": {
        "interval": 22354531,
        "last_event": 1368035461744,
        "rate": 0.3999437877321085
    },
    "deliver": 2412673,
    "deliver_details": {
        "interval": 22354531,
        "last_event": 1368035461744,
        "rate": 0.3999437877321085
    },
    "deliver_get": 2412673,
    "deliver_get_details": {
        "interval": 22354531,
        "last_event": 1368035461744,
        "rate": 0.3999437877321085
    },
    "publish": 480894,
    "publish_details": {
        "interval": 10504228,
        "last_event": 1368035452340,
        "rate": 0.47599880733738836
    }
}

Is this a bug that should be representing Basic.Get counts or a stat we can
discard?

Regards,

Gavin
-- 

Gavin M. Roy
Chief Technology Officer

 <http://www.meetme.com/>
100 Union Square Drive
New Hope, PA 18938
p. +1.215.862.1162 x263
f. +1.215.862.0465

<https://www.facebook.com/pages/MeetMe/21931227129>
<https://twitter.com/meetme>
    <http://www.youtube.com/user/MeetMeVideos>

The public market leader in social discovery. (NYSE MKT: MEET)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130508/118d6d9a/attachment.htm>


More information about the rabbitmq-discuss mailing list