From d8e989fe4971dd52d0766e159719c9dc42008362 Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Tue, 4 Apr 2023 11:33:56 +0200 Subject: [PATCH] [UnifiedFieldList] Handle time series metric counter better --- .../unified_field_list/common/utils/field_stats_utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/unified_field_list/common/utils/field_stats_utils.ts b/src/plugins/unified_field_list/common/utils/field_stats_utils.ts index ddda8de350e6b..aae9dcaa03692 100644 --- a/src/plugins/unified_field_list/common/utils/field_stats_utils.ts +++ b/src/plugins/unified_field_list/common/utils/field_stats_utils.ts @@ -145,7 +145,8 @@ function canProvideAggregatedStatsForField(field: DataViewField): boolean { field.type === 'geo_point' || field.type === 'geo_shape' || field.type === 'murmur3' || - field.type === 'attachment' + field.type === 'attachment' || + field.timeSeriesMetric === 'counter' ); }