Fixed
Details
Assignee
Chandra GorantlaChandra GorantlaReporter
Jesse WhiteJesse WhiteSprint
NoneFix versions
Priority
Major
Details
Details
Assignee
Chandra Gorantla
Chandra GorantlaReporter
Jesse White
Jesse WhiteSprint
None
Fix versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 13, 2020 at 7:16 PM
Updated May 5, 2020 at 4:03 PM
Resolved May 4, 2020 at 3:41 PM
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) andaggregateIndexPrefix
(defaults to 'aggregated-flows'). WhentimeRangeAggregateThresholdMs
is set to a value greater than 0 and the duration of the timestamp in the given query exceeds this value then we should useaggregateIndexPrefix
as the index prefix instead ofindexPrefix
.