[Metrics Alerts] Set default aggregator to "average" instead o… (#62216)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Zacqary Adam Xeper 2020-04-03 11:04:48 -05:00 committed by GitHub
parent f7bbf33667
commit cfe519f5a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@ export const Expressions: React.FC<Props> = props => {
const defaultExpression = useMemo<MetricExpression>(
() => ({
aggType: AGGREGATION_TYPES.MAX,
aggType: AGGREGATION_TYPES.AVERAGE,
comparator: '>',
threshold: [],
timeSize: 1,