Normalize normal data

This commit is contained in:
JUDIT GRESKOVITS 2017-03-21 13:05:13 +00:00
parent 211be1d054
commit 72ad67ec06
2 changed files with 13 additions and 1 deletions

View File

@ -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": [

View File

@ -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;