File tree Expand file tree Collapse file tree
src/plugins/vis_types/timeseries/public/convert_to_lens/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99import { stubLogstashDataView } from '@kbn/data-views-plugin/common/data_view.stub' ;
1010import { createSeries } from '../__mocks__' ;
11+ import { FormulaColumn } from './types' ;
1112import { Metric } from '../../../../common/types' ;
1213import { TSVB_METRIC_TYPES } from '../../../../common/enums' ;
1314import { convertVarianceToFormulaColumn } from './variance' ;
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ interface LocalSupportedMetrics {
5555 [ TSVB_METRIC_TYPES . STATIC ] : Metric < typeof Operations . STATIC_VALUE > ;
5656 [ TSVB_METRIC_TYPES . POSITIVE_RATE ] : Metric < typeof Operations . COUNTER_RATE > ;
5757 [ TSVB_METRIC_TYPES . MOVING_AVERAGE ] : Metric < typeof Operations . MOVING_AVERAGE > ;
58+ [ TSVB_METRIC_TYPES . VARIANCE ] : Metric < typeof Operations . FORMULA > ;
5859}
5960
6061type UnsupportedSupportedMetrics = Exclude < MetricType , keyof LocalSupportedMetrics > ;
You can’t perform that action at this time.
0 commit comments