Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12661

Add more context to Response Time resources (Kafka Producer)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Meridian-2019.1.5, 26.0.0
    • Fix Version/s: Meridian-2019.1.7, 26.1.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2020 - April 15th

      Description

      A collection set containing a single response time resources written to Kafka looks like the following:

      2020-04-12T04:34:34,986 | DEBUG | kafka-producer-network-thread | producer-1 | KafkaPersister                   | 435 - org.opennms.features.kafka.producer - 26.1.0.SNAPSHOT | persisted
       collection timestamp: 1586666074984
      resource {          
        generic {
          node {                                                                                                                                                                               
          }
          type: "latency"
          instance: "127.0.0.1[JMX-Minion]"
        }
        numeric {
          group: "jmx-minion"
          name: "jmx-minion"
          value: 0.191139
        }
      }
       to kafka with key 0
      2020-04-12T04:34:34,994 | ERROR | pool-13-thread-1311 | CollectionSetMapper              | 435 - org.opennms.features.kafka.producer - 26.1.0.SNAPSHOT | error while trying to match node
       from null
      

      1. The "location" field of the response time resource should be populated so we know what location it relates to.
      2. The IP address should be easy to parse - right now it's concatenated with [JMX-Minion]?
      3. An error is logged if the node is null, but this is expected in the case of response time resources.

        Attachments

          Activity

            People

            Assignee:
            cgorantla Chandra Gorantla
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: