Qpid
  1. Qpid
  2. QPID-3824

Additional queue statistics, posix memory statistics, and broker-scope statistics

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: C++ Broker, Python Tools
    • Labels:
      None

      Description

      This feature introduces new counters to the Queue and Broker management objects. The broker counters are aggregate values of all queues in the broker.

      • = Already in the management model
      Counter Queue Broker Description
      queueCount   X The number of queues on the broker
      msgTotalEnqueues, byteTotalEnqueues * X Total Enqueues (messages, bytes)
      msgTotalDequeues, byteTotalDequeues * X Total Dequeues (messages, bytes) This does not count messages acquired but not completed.
      msgDepth, byteDepth * X Total mesages, bytes in the broker
      msgPersistEnqueues, bytePersistEnqueues * X Durable messages/bytes enqueued into durable queues
      msgPersistDequeues, bytePersistDequeues * X Durable messages/bytes dequeued from durable queues
      msgTxnEnqueues, byteTxnEnqueues * X Transactional enqueues in messages/bytes
      msgTxnDequeues, byteTxnDequeues * X Transactional dequeues in messages/bytes
      msgFtdEnqueues, byteFtdEnqueues X X Messages/bytes flowed to disk (released from memory)
      msgFtdDequeues, byteFtdDequeues X X Messages/bytes recovered from disk for consumption
      msgFtdDepth, byteFtdDepth X X Messages/bytes currently flowed to disk
      releases X X Total messages released from acquired state (explicitly by API or due to subscriber deletion)
      acquires X X Total messages acquired
      discardsNoRoute   X Messages discarded due to no-route from exchange
      discardsTtl X X Messages discarded due to TTL expiration
      discardsRing X X Messages discarded on full ring queue
      discardsLvq X X Messages discarded from LVQ due to key match
      discardsOverflow X X Messages discarded due to limit exceeded (sender exception thrown)
      discardsSubscriber X X Messages rejected by subscriber
      discardsPurge X X Messages purged by management request
      reroutes X X Messages rerouted by management request
      abandoned   X Messages abandoned in deleted queues
      abandonedViaAlt   X Messages routed to alternate exchange in deleted queues

        Activity

        Hide
        Keith Wall added a comment -

        Hi

        I think this commit broke running of the Python tests on Jenkins for both the C++ and Java Brokers. There is a compilation problem:

        https://builds.apache.org//view/M-R/view/Qpid/job/Qpid-Python-Cpp-Test/
        https://builds.apache.org//view/M-R/view/Qpid/job/Qpid-Python-Java-Test/

        https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Java-Test/ws/trunk/qpid/python/build/results/

        The error message:

        Traceback (most recent call last):
        File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/qpid-python-test", line 563, in <module>
        m = _import_(name, None, None, ["dummy"])
        File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/_init_.py", line 22, in <module>
        import broker_0_10, broker_0_9, broker_0_8
        File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/_init_.py", line 38, in <module>
        from stats import *
        File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py", line 30, in <module>
        from qpidtoollibs.broker import BrokerAgent
        ImportError: No module named qpidtoollibs.broker

        Show
        Keith Wall added a comment - Hi I think this commit broke running of the Python tests on Jenkins for both the C++ and Java Brokers. There is a compilation problem: https://builds.apache.org//view/M-R/view/Qpid/job/Qpid-Python-Cpp-Test/ https://builds.apache.org//view/M-R/view/Qpid/job/Qpid-Python-Java-Test/ https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Java-Test/ws/trunk/qpid/python/build/results/ The error message: Traceback (most recent call last): File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/python/qpid-python-test", line 563, in <module> m = _ import _(name, None, None, ["dummy"] ) File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/_ init _.py", line 22, in <module> import broker_0_10, broker_0_9, broker_0_8 File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/_ init _.py", line 38, in <module> from stats import * File "/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py", line 30, in <module> from qpidtoollibs.broker import BrokerAgent ImportError: No module named qpidtoollibs.broker

          People

          • Assignee:
            Ted Ross
            Reporter:
            Ted Ross
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development