From 687b0b17269f9438df6fd00777ce24b07b3863ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Farkas?= Date: Wed, 7 Sep 2022 14:31:11 +0200 Subject: [PATCH] elastic: explain why moving_avg is 7.x only (#54840) --- .../components/QueryEditor/MetricAggregationsEditor/utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/utils.ts b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/utils.ts index d79c187dc22..1017464cc04 100644 --- a/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/utils.ts +++ b/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/utils.ts @@ -110,6 +110,8 @@ export const metricAggregationConfig: MetricsConfiguration = { defaults: {}, }, moving_avg: { + // deprecated in 6.4.0, removed in 8.0.0, + // recommended replacement is moving_fn label: 'Moving Average', requiresField: true, isPipelineAgg: true,