Flow Thresholding: persist zero traffic rate

Description

With release 30 we allow to check thresholds for flow applications. In the current implementation a data point for an application is only persisted if any flow record appear that matches this application. In the case no traffic will flow for a given application nothing will be persisted. This leads to the following problems:

  • the creation of graphs for flow applications that did not matched any traffic isn't possible since the RRD-file isn't created yet

  • since nothing is persisted in the case of zero data traffic RRD will treat these missing data points as NaNs. This will introduce problems when such traffic will be aggregated into other RRAs because of the XFF definition

So, ideally zero data flow should also be persisted as zero.

Acceptance / Success Criteria

  • RRD-files are created even if no traffic has matched for an application

  • zeros are persisted in case no traffic matches for an application

Lucidchart Diagrams

Activity

Show:

Christian Pape July 21, 2022 at 4:43 PM

Merged.

Fixed

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created June 21, 2022 at 1:35 PM
Updated July 21, 2022 at 4:43 PM
Resolved July 21, 2022 at 4:43 PM