feat(xo-server/xapi-stats): expose VM IOPS metric (#3454)

This commit is contained in:
badrAZ 2018-10-03 15:50:35 +02:00 committed by Julien Fontanet
parent bdefd0bcd8
commit 1e7852369f

View File

@ -230,6 +230,16 @@ const STATS = {
getPath: matches => ['xvds', 'w', matches[1]],
},
},
iops: {
r: {
test: /^vbd_xvd(.)_iops_read$/,
getPath: matches => ['iops', 'r', matches[1]],
},
w: {
test: /^vbd_xvd(.)_iops_write$/,
getPath: matches => ['iops', 'w', matches[1]],
},
},
},
}