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

AMQ 7 prometheus: message count metric does not increase after paging starts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • +
    • Verified in a release
    • Hide

      1. For an address, set max-size-bytes, e.g.

       <max-size-bytes>100mb</max-size-bytes>
      

      2. Enable prometheus metrics per documentation.

      3. Begin producing messages, e.g.:

      bin/artemis producer --user admin --password admin --url tcp://localhost:61616 --message-count 100000 --message-size 1024 --destination queue://FOO
      

      3. Evaluate metrics, eventually the count will stop increasing:

      $ curl -XGET http://localhost:8161/metrics/ | grep "FOO.*grep artemis_message_count"
      100 10956    0 10956    0     0  1783k      0 --:--:-- --:--:-- --:--:-- 2139k
      artemis_message_count{address="FOO",broker="0.0.0.0",queue="FOO",} 50952.0
      
      Show
      1. For an address, set max-size-bytes, e.g. <max-size-bytes>100mb</max-size-bytes> 2. Enable prometheus metrics per documentation. 3. Begin producing messages, e.g.: bin/artemis producer --user admin --password admin --url tcp: //localhost:61616 --message-count 100000 --message-size 1024 --destination queue://FOO 3. Evaluate metrics, eventually the count will stop increasing: $ curl -XGET http: //localhost:8161/metrics/ | grep "FOO.*grep artemis_message_count" 100 10956 0 10956 0 0 1783k 0 --:--:-- --:--:-- --:--:-- 2139k artemis_message_count{address= "FOO" ,broker= "0.0.0.0" ,queue= "FOO" ,} 50952.0

      The message count from the prometheus exporter increases and matches the JMX count until paging is enabled on an address.

              rhn-support-jbertram Justin Bertram
              rhn-support-shiggs Stephen Higgs
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: