File tree 1 file changed +2
-0
lines changed
x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ import moment from 'moment';
8
8
import { networkTraffic } from '../../../../../common/inventory_models/shared/metrics/snapshot/network_traffic' ;
9
9
import { MetricExpressionParams , Aggregators } from '../types' ;
10
10
import { getIntervalInSeconds } from '../../../../utils/get_interval_in_seconds' ;
11
+ import { roundTimestamp } from '../../../../utils/round_timestamp' ;
11
12
import { createPercentileAggregation } from './create_percentile_aggregation' ;
12
13
import { calculateDateHistogramOffset } from '../../../metrics/lib/calculate_date_histogram_offset' ;
13
14
15
+ const MINIMUM_BUCKETS = 5 ;
14
16
const COMPOSITE_RESULTS_PER_PAGE = 100 ;
15
17
16
18
const getParsedFilterQuery : ( filterQuery : string | undefined ) => Record < string , any > | null = (
You can’t perform that action at this time.
0 commit comments