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

Metrics exporter switches address and queue name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • AMQ 7.4.4.CR1
    • AMQ 7.4.3.GA
    • monitoring
    • None
    • +
    • Hide
      In previous 7.4.x releases of AMQ Broker, if you enabled the Prometheus metrics plugin for a broker, the names of addresses and queues were swapped in the exported metrics. For example, the plugin might export a metric such as `artemis_messages_added\{address="queue1",broker="amq-broker",queue="address1",} 0.0`. This issue is now resolved.
      Show
      In previous 7.4.x releases of AMQ Broker, if you enabled the Prometheus metrics plugin for a broker, the names of addresses and queues were swapped in the exported metrics. For example, the plugin might export a metric such as `artemis_messages_added\{address="queue1",broker="amq-broker",queue="address1",} 0.0`. This issue is now resolved.
    • Documented as Resolved Issue
    • Verified in a release
      • Deploy 7.4.3 on OCP
      • Create address and queues
      • Enable prometheus metrics exporter
      • Check exported metrics

    Description

      The prometheus exporter switches the address and queue name in the exported metrics.  For example when a multicast address named "foo" is create and then multicast queues (queue1, queue2) are created under this address, these names are switches in the exported metrics:

      artemis_messages_added\{address="queue1",broker="amq-broker",queue="foo",} 0.0
      artemis_messages_added\{address="queue2",broker="amq-broker",queue="foo",} 0.0
      

       

      Note, this only affects the LTS release stream (7.4.x).  The 7.6.0 broker does not reproduce this behavior.

      Attachments

        Activity

          People

            rhn-support-jbertram Justin Bertram
            rhn-support-jsherman Jason Sherman
            Tiago Bueno Tiago Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: