mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
4c0f26b6a2
commit
76d28559b5
1 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,8 @@ import { buildProcessorFunction } from '../build_processor_function';
|
|||
import { processors } from '../response_processors/table';
|
||||
import { getLastValue } from '../../../../common/get_last_value';
|
||||
import regression from 'regression';
|
||||
import { first, get, set } from 'lodash';
|
||||
import { first, get } from 'lodash';
|
||||
import { overwrite } from '../helpers';
|
||||
import { getActiveSeries } from '../helpers/get_active_series';
|
||||
|
||||
export function processBucket(panel) {
|
||||
|
@ -35,7 +36,7 @@ export function processBucket(panel) {
|
|||
const timeseries = {
|
||||
buckets: get(bucket, `${series.id}.buckets`),
|
||||
};
|
||||
set(bucket, series.id, { meta, timeseries });
|
||||
overwrite(bucket, series.id, { meta, timeseries });
|
||||
}
|
||||
|
||||
const processor = buildProcessorFunction(processors, bucket, panel, series);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue