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

Flow aggregation - alternate indices based on duration of time range filter

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 26.1.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2020 - April 1st, Horizon 2020 - April 15th, Horizon 2020 - April 29th

      Description

      In order to leverage pre-aggregated metrics we would like update the search queries in the ElasticFlowRepository to use alternate indices based on the duration of the time range filter.

      To do this let's define new properties called timeRangeAggregateThresholdMs (defaults to 0) and aggregateIndexPrefix (defaults to 'aggregated-flows'). When timeRangeAggregateThresholdMs is set to a value greater than 0 and the duration of the timestamp in the given query exceeds this value then we should use aggregateIndexPrefix as the index prefix instead of indexPrefix.

        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: