Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-3022

Metrics not working properly for explicit specified watching namespaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.GA
    • None
    • None
    • None

    Description

      The problem is that when CO has two namespaces to watch and in each namespace, we have enabled metrics. Metrics are always only for the one namespace, which is probably selected randomly. For instance:

      first-namespace:
      kafka
      kafka-connector
      kafka-mirror-maker
      kafka-connect

      second-namespace:
      kafka

      which means that we exceped following metrics:

      TYPE strimzi_resources gauge

      strimzi_resources{kind="KafkaBridge",} 0.0
      strimzi_resources{kind="KafkaConnector",} 1.0
      strimzi_resources{kind="Kafka",} 2.0
      strimzi_resources{kind="KafkaConnect",} 1.0
      strimzi_resources{kind="KafkaMirrorMaker2",} 0.0
      strimzi_resources{kind="KafkaMirrorMaker",} 1.0
      strimzi_resources{kind="KafkaRebalance",} 0.0
      

      but I am getting:

      TYPE strimzi_resources gauge

      strimzi_resources{kind="KafkaBridge",} 0.0
      strimzi_resources{kind="KafkaConnector",} 0.0
      strimzi_resources{kind="Kafka",} 1.0
      strimzi_resources{kind="KafkaConnect",} 0.0
      strimzi_resources{kind="KafkaMirrorMaker2",} 0.0
      strimzi_resources{kind="KafkaMirrorMaker",} 0.0
      strimzi_resources{kind="KafkaRebalance",} 0.0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            morsak Maros Orsak
            Jakub Stejskal Jakub Stejskal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: