Coder Social home page Coder Social logo

Comments (7)

michaelklishin avatar michaelklishin commented on September 15, 2024

So you are sure that you have a flow of messages to the consumers on queue {queue-name}?

from rabbitmq-management.

bosr avatar bosr commented on September 15, 2024

It's a small flow (1 per minute approx) but yes we do have messages on that queue being consumed by the consumer.

Romain

On 02 Apr 2015, at 18:02, Michael Klishin [email protected] wrote:

So you are sure that you have a flow of messages to the consumers on queue {queue-name}?


Reply to this email directly or view it on GitHub.

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on September 15, 2024

Well, this means in the last N seconds there are no stats to show.

With a 100 messages a second rate, I get

curl -u guest:guest http://127.0.0.1:15672/api/queues/%2F/rabbitmq-management-31 | python -m json.tool
{
    "arguments": {},
    "auto_delete": false,
    "backing_queue_status": {
        "avg_ack_egress_rate": 0.0,
        "avg_ack_ingress_rate": 0.0,
        "avg_egress_rate": 26.27519024645157,
        "avg_ingress_rate": 2.9185635654635425,
        "delta": [
            "delta",
            "undefined",
            0,
            "undefined"
        ],
        "len": 0,
        "next_seq_id": 7000,
        "q1": 0,
        "q2": 0,
        "q3": 0,
        "q4": 0,
        "target_ram_count": "infinity"
    },
    "consumer_details": [
        {
            "ack_required": false,
            "arguments": {},
            "channel_details": {
                "connection_name": "127.0.0.1:52051 -> 127.0.0.1:5672",
                "name": "127.0.0.1:52051 -> 127.0.0.1:5672 (1)",
                "number": 1,
                "peer_host": "127.0.0.1",
                "peer_port": 52051,
                "user": "guest"
            },
            "consumer_tag": "bunny-1427990698000-161496250696",
            "exclusive": false,
            "prefetch_count": 0,
            "queue": {
                "name": "rabbitmq-management-31",
                "vhost": "/"
            }
        }
    ],
    "consumer_utilisation": 0.9999999995651289,
    "consumers": 1,
    "deliveries": [],
    "disk_reads": 0,
    "disk_writes": 0,
    "durable": false,
    "exclusive_consumer_tag": "",
    "incoming": [],
    "memory": 9571784,
    "message_bytes": 0,
    "message_bytes_persistent": 0,
    "message_bytes_ram": 0,
    "message_bytes_ready": 0,
    "message_bytes_unacknowledged": 0,
    "message_stats": {
        "deliver_get": 10000,
        "deliver_get_details": {
            "rate": 100.0
        },
        "deliver_no_ack": 10000,
        "deliver_no_ack_details": {
            "rate": 100.0
        },
        "publish": 10000,
        "publish_details": {
            "rate": 100.0
        }
    },
    "messages": 0,
    "messages_details": {
        "rate": 0.0
    },
    "messages_persistent": 0,
    "messages_ram": 0,
    "messages_ready": 0,
    "messages_ready_details": {
        "rate": 0.0
    },
    "messages_ready_ram": 0,
    "messages_unacknowledged": 0,
    "messages_unacknowledged_details": {
        "rate": 0.0
    },
    "messages_unacknowledged_ram": 0,
    "name": "rabbitmq-management-31",
    "node": "rabbit@mercurio",
    "policy": "",
    "recoverable_slaves": "",
    "state": "running",
    "vhost": "/"
}

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on September 15, 2024

So message rates haven't disappeared in 3.5.0, it's just an interesting case with default retention policies and message rates of "lower than 1 per minute". Please see Retaintion policies, too.

Arguably we should return values as zeros but this may be less trivial than it sounds.

from rabbitmq-management.

bosr avatar bosr commented on September 15, 2024

Thanks Michael, I'm commuting right now. I see your 'deliveries' is an empty list too. It used to have message stats per consumer, right?

Romain

On 02 Apr 2015, at 18:06, Michael Klishin [email protected] wrote:

Well, this means in the last N seconds there are no stats to show.

With a 100 messages a second rate, I get

curl -u guest:guest http://127.0.0.1:15672/api/queues/%2F/rabbitmq-management-31 | python -m json.tool
{
"arguments": {},
"auto_delete": false,
"backing_queue_status": {
"avg_ack_egress_rate": 0.0,
"avg_ack_ingress_rate": 0.0,
"avg_egress_rate": 26.27519024645157,
"avg_ingress_rate": 2.9185635654635425,
"delta": [
"delta",
"undefined",
0,
"undefined"
],
"len": 0,
"next_seq_id": 7000,
"q1": 0,
"q2": 0,
"q3": 0,
"q4": 0,
"target_ram_count": "infinity"
},
"consumer_details": [
{
"ack_required": false,
"arguments": {},
"channel_details": {
"connection_name": "127.0.0.1:52051 -> 127.0.0.1:5672",
"name": "127.0.0.1:52051 -> 127.0.0.1:5672 (1)",
"number": 1,
"peer_host": "127.0.0.1",
"peer_port": 52051,
"user": "guest"
},
"consumer_tag": "bunny-1427990698000-161496250696",
"exclusive": false,
"prefetch_count": 0,
"queue": {
"name": "rabbitmq-management-31",
"vhost": "/"
}
}
],
"consumer_utilisation": 0.9999999995651289,
"consumers": 1,
"deliveries": [],
"disk_reads": 0,
"disk_writes": 0,
"durable": false,
"exclusive_consumer_tag": "",
"incoming": [],
"memory": 9571784,
"message_bytes": 0,
"message_bytes_persistent": 0,
"message_bytes_ram": 0,
"message_bytes_ready": 0,
"message_bytes_unacknowledged": 0,
"message_stats": {
"deliver_get": 10000,
"deliver_get_details": {
"rate": 100.0
},
"deliver_no_ack": 10000,
"deliver_no_ack_details": {
"rate": 100.0
},
"publish": 10000,
"publish_details": {
"rate": 100.0
}
},
"messages": 0,
"messages_details": {
"rate": 0.0
},
"messages_persistent": 0,
"messages_ram": 0,
"messages_ready": 0,
"messages_ready_details": {
"rate": 0.0
},
"messages_ready_ram": 0,
"messages_unacknowledged": 0,
"messages_unacknowledged_details": {
"rate": 0.0
},
"messages_unacknowledged_ram": 0,
"name": "rabbitmq-management-31",
"node": "rabbit@mercurio",
"policy": "",
"recoverable_slaves": "",
"state": "running",
"vhost": "/"
}

Reply to this email directly or view it on GitHub.

from rabbitmq-management.

simonmacmullen avatar simonmacmullen commented on September 15, 2024

You upgraded from 3.3.x or earlier? We don't gather those stats by default any more. See the description of rates_mode at http://www.rabbitmq.com/management.html#fine-stats for how to turn them on.

from rabbitmq-management.

bosr avatar bosr commented on September 15, 2024

Thanks !

Romain

On 02 Apr 2015, at 18:16, Simon MacMullen [email protected] wrote:

You upgraded from 3.3.x or earlier? We don't gather those stats by default any more. See the description of rates_mode at http://www.rabbitmq.com/management.html#fine-stats for how to turn them on.


Reply to this email directly or view it on GitHub.

from rabbitmq-management.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.