diff --git a/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts b/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts index f76382d90a08a..19f1cf5d70d30 100644 --- a/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts +++ b/x-pack/plugins/apm/server/lib/search_strategies/latency_correlations/latency_correlations_search_service.ts @@ -155,7 +155,7 @@ export const latencyCorrelationsSearchServiceProvider: LatencyCorrelationsSearch // We need to round the percentiles values // because the queries we're using based on it // later on wouldn't allow numbers with decimals. - const percentiles = Object.values(percentilesRecords).map((p) => + const percentiles = Object.values(percentilesRecords).map(Math.round) Math.round(p) );