Skip to content

Commit 711062b

Browse files
committed
Fix bad merge
1 parent 17d4653 commit 711062b

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

x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ import moment from 'moment';
88
import { networkTraffic } from '../../../../../common/inventory_models/shared/metrics/snapshot/network_traffic';
99
import { MetricExpressionParams, Aggregators } from '../types';
1010
import { getIntervalInSeconds } from '../../../../utils/get_interval_in_seconds';
11+
import { roundTimestamp } from '../../../../utils/round_timestamp';
1112
import { createPercentileAggregation } from './create_percentile_aggregation';
1213
import { calculateDateHistogramOffset } from '../../../metrics/lib/calculate_date_histogram_offset';
1314

15+
const MINIMUM_BUCKETS = 5;
1416
const COMPOSITE_RESULTS_PER_PAGE = 100;
1517

1618
const getParsedFilterQuery: (filterQuery: string | undefined) => Record<string, any> | null = (

0 commit comments

Comments
 (0)