changes
This commit is contained in:
parent
bb2085436e
commit
cf9472eb56
@ -244,7 +244,10 @@ class UsageReportPlugin {
|
|||||||
return sortedNetworkStats.slice(0, number)
|
return sortedNetworkStats.slice(0, number)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
// faire la moyenne pour chaque vm, puis la moyenne de cette moyenne pour chaque hote et faire moyenne finale
|
||||||
this._unsets.push(this._xo.api.addMethod('generateGlobalMemoryUsedReport', async ({ machines, granularity }) => {
|
this._unsets.push(this._xo.api.addMethod('generateGlobalMemoryUsedReport', async ({ machines, granularity }) => {
|
||||||
|
// const stats = await _getHostsVmsStats(machines, granularity)
|
||||||
|
|
||||||
machines = machines.split(',')
|
machines = machines.split(',')
|
||||||
const hostMean = {}
|
const hostMean = {}
|
||||||
for (let machine of machines) {
|
for (let machine of machines) {
|
||||||
|
Loading…
Reference in New Issue
Block a user