Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2205

Cease querying on filter or time-range change

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, Alerts UI sends a query request to the REST API every time the userĀ 

      • add new filter
      • clear filters
      • change time range

      This behavior keeps the list of alerts and the state of the filtering in sync: every time the filter changes the visualized data change with it.

      The drawback of this behavior is itĀ fires multiple query requests while the user tries to set up a more complex filter.

      The following scenario:

      1. clearing the current filter
      2. changing the time range
      3. adding a filter for ip_src_addr
      4. adding a filter for source:type
      5. pressing the query button

      leads 5 queries instead of one. In the case of large data sets, this could lead to unnecessary load and UI glitches (results update the alerts table with partially filtered data).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibormeller Tibor Meller
                Reporter:
                tibormeller Tibor Meller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m