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 19f1cf5d70d30..5fed2f4eb4dc4 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,9 +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(Math.round) - Math.round(p) - ); + const percentiles = Object.values(percentilesRecords).map(Math.round); addLogMessage(`Loaded percentiles.`);