Trends on a ratio is not really meaningful but can help debugging
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
)
)
})
+ },
+ utilization: {
+ average: round(
+ average(
+ this.workerNodes.map(
+ workerNode => workerNode.usage.elu.utilization ?? 0
+ )
+ )
+ ),
+ median: round(
+ median(
+ this.workerNodes.map(
+ workerNode => workerNode.usage.elu.utilization ?? 0
+ )
+ )
+ )
}
}
})
readonly average?: number
readonly median?: number
}
+ utilization: {
+ readonly average?: number
+ readonly median?: number
+ }
}
}