[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' }],
|
metrics: [{ type: 'cpu' }, { type: 'memory' }, { type: 'rx' }, { type: 'tx' }],
|
||||||
groupBy: [],
|
groupBy: [],
|
||||||
nodeType: 'host',
|
nodeType: 'host',
|
||||||
|
includeTimeseries: true,
|
||||||
timerange: {
|
timerange: {
|
||||||
from: startTime.valueOf(),
|
from: startTime.valueOf(),
|
||||||
to: endTime.valueOf(),
|
to: endTime.valueOf(),
|
||||||
|
|
|
@ -88,6 +88,7 @@ export const createMetricsFetchData = (
|
||||||
metrics: ['cpu', 'memory', 'rx', 'tx'].map((type) => ({ type })) as SnapshotMetricInput[],
|
metrics: ['cpu', 'memory', 'rx', 'tx'].map((type) => ({ type })) as SnapshotMetricInput[],
|
||||||
groupBy: [],
|
groupBy: [],
|
||||||
nodeType: 'host',
|
nodeType: 'host',
|
||||||
|
includeTimeseries: true,
|
||||||
timerange: {
|
timerange: {
|
||||||
from: moment(startTime).valueOf(),
|
from: moment(startTime).valueOf(),
|
||||||
to: moment(endTime).valueOf(),
|
to: moment(endTime).valueOf(),
|
||||||
|
|
Loading…
Reference in a new issue