Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9055

Improve output of ./artemis queue stat

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      in trying to make ./artemis queue stat more readable, the output formatting is being improved:

       

      • By default management queues used to communicate with the CLI are now hidden.  they can be view if --include-management is used
      • The queue names are now split into multiple lines and moving the count records a cell down.
      • The metric names are now centralized in the visualization.
      • Overal it is trying to present more information with less space.

       

      An example of the output after the improvement:

      bin % ./artemis queue stat --include-management
      Connection brokerURL = tcp://localhost:61616
      |NAME                     |ADDRESS                  |CONSUMER|MESSAGE|MESSAGES|DELIVERING|MESSAGES|SCHEDULED| ROUTING |INTERNAL|
      |                         |                         | COUNT  | COUNT | ADDED  |  COUNT   | ACKED  |  COUNT  |  TYPE   |        |
      |$sys.mqtt.sessions       |$sys.mqtt.sessions       |   0    |   0   |   0    |    0     |   0    |    0    | ANYCAST |  true  |
      |DLQ                      |DLQ                      |   0    |   0   |   0    |    0     |   0    |    0    | ANYCAST | false  |
      |ExpiryQueue              |ExpiryQueue              |   0    |   0   |   0    |    0     |   0    |    0    | ANYCAST | false  |
      |TEST                     |TEST                     |   0    |   0   |   0    |    0     |   0    |    0    | ANYCAST | false  |
      |activemq.management.271e1|activemq.management.271e1|   1    |   1   |   1    |    1     |   0    |    0    |MULTICAST| false  |
      |  18f-dec3-419d-9bcb-5a0e|  18f-dec3-419d-9bcb-5a0e|        |       |        |          |        |         |         |        |
      |  e8f85cd1               |  e8f85cd1               |        |       |        |          |        |         |         |        |
      |activemq.management.7b340|activemq.management.7b340|   1    |   1   |   1    |    1     |   0    |    0    |MULTICAST| false  |
      |  f57-c21b-4e78-83e1-28ce|  f57-c21b-4e78-83e1-28ce|        |       |        |          |        |         |         |        |
      |  2848c57f               |  2848c57f               |        |       |        |          |        |         |         |        |
      |activemq.management.cf8d5|activemq.management.cf8d5|   1    |   0   |   0    |    0     |   0    |    0    |MULTICAST| false  |
      |  11f-d309-4a7c-8c01-1d5d|  11f-d309-4a7c-8c01-1d5d|        |       |        |          |        |         |         |        |
      |  e001f5e7               |  e001f5e7               |        |       |        |          |        |         |         |        | 

              csuconic@redhat.com Clebert Suconic
              csuconic@redhat.com Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: