Uploaded image for project: 'OpenNMS Horizon'
  1. OpenNMS Horizon
  2. HZN-1161

Improve efficiency of applying package filters in telemetryd

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 22.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Horizon - Jan 10th 2018, Horizon - Jan 17th 2018

      Description

      In org.opennms.netmgt.telemetry.adapters.collection.AbstractPersistingAdapter#getPackageFor we attempt to match a package definition using the host associated with the message.

      The implementation of org.opennms.netmgt.filter.api.FilterDao#isValid actually builds a complete list of IP address matching the given filter, and then verifies if the given address is in the returned set.

      This is inefficient for filters that match a large set of addresses and can be optimized further.

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von RĂ¼den
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: