From 72ad67ec06b39244416d9f0c2e852326f72b051c Mon Sep 17 00:00:00 2001 From: JUDIT GRESKOVITS Date: Tue, 21 Mar 2017 13:05:13 +0000 Subject: [PATCH] Normalize normal data --- frontend/src/dataset-normal.json | 12 ++++++++++++ frontend/src/state/selectors.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/src/dataset-normal.json b/frontend/src/dataset-normal.json index d0de78fc..4af517cd 100644 --- a/frontend/src/dataset-normal.json +++ b/frontend/src/dataset-normal.json @@ -34455,6 +34455,10 @@ [ 1490062823, "40698512" + ], + [ + 1490062823, + "1446041104" ] ], "process_heap_bytes": [ @@ -45949,6 +45953,10 @@ [ 1490062823, "78276000" + ], + [ + 1490062823, + "1459872000" ] ], "process_resident_memory_bytes": [ @@ -80423,6 +80431,10 @@ [ 1490062823, "6.539999999999999" + ], + [ + 1490062823, + "71.74999999999999" ] ], "process_cpu_system_seconds_total": [ diff --git a/frontend/src/state/selectors.js b/frontend/src/state/selectors.js index 88dcff6a..df294329 100644 --- a/frontend/src/state/selectors.js +++ b/frontend/src/state/selectors.js @@ -120,7 +120,7 @@ const metricByInterval = (data = [], { const q3 = statistics.quantile(data, 0.75); const iqr = q3-q1; - const outlierMultiplier = 3; + const outlierMultiplier = 1.5; let max = statistics.max(data); if(max < q3 + iqr*outlierMultiplier) { max = q3;