Skip to content

Commit

Permalink
[Metrics UI] Set includeTimeseries on Observability fetchData request
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Jul 3, 2020
1 parent 7ec48fd commit 7493894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/infra/public/metrics_overview_fetchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 7493894

Please sign in to comment.