[Metrics UI] Set includeTimeseries on Observability fetchData request (#70735)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
735d3bae8c
commit
f946e8e2a9
|
@ -76,6 +76,7 @@ describe('Metrics UI Observability Homepage Functions', () => {
|
|||
metrics: [{ type: 'cpu' }, { type: 'memory' }, { type: 'rx' }, { type: 'tx' }],
|
||||
groupBy: [],
|
||||
nodeType: 'host',
|
||||
includeTimeseries: true,
|
||||
timerange: {
|
||||
from: startTime.valueOf(),
|
||||
to: endTime.valueOf(),
|
||||
|
|
|
@ -88,6 +88,7 @@ export const createMetricsFetchData = (
|
|||
metrics: ['cpu', 'memory', 'rx', 'tx'].map((type) => ({ type })) as SnapshotMetricInput[],
|
||||
groupBy: [],
|
||||
nodeType: 'host',
|
||||
includeTimeseries: true,
|
||||
timerange: {
|
||||
from: moment(startTime).valueOf(),
|
||||
to: moment(endTime).valueOf(),
|
||||
|
|
Loading…
Reference in a new issue