mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
Normalize normal data
This commit is contained in:
parent
211be1d054
commit
72ad67ec06
@ -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": [
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user