[Metrics UI] Reduce the pagination size for snapshot request (#78051)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
298d5c1c9f
commit
8ea5c575eb
|
@ -34,7 +34,7 @@ export const transformRequestToMetricsAPIRequest = async (
|
||||||
interval: timeRangeWithIntervalApplied.interval,
|
interval: timeRangeWithIntervalApplied.interval,
|
||||||
},
|
},
|
||||||
metrics: transformSnapshotMetricsToMetricsAPIMetrics(snapshotRequest),
|
metrics: transformSnapshotMetricsToMetricsAPIMetrics(snapshotRequest),
|
||||||
limit: snapshotRequest.overrideCompositeSize ? snapshotRequest.overrideCompositeSize : 10,
|
limit: snapshotRequest.overrideCompositeSize ? snapshotRequest.overrideCompositeSize : 5,
|
||||||
alignDataToEnd: true,
|
alignDataToEnd: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue