Fixed some missing metrics

This commit is contained in:
Mark Nellemann 2020-08-13 12:27:16 +02:00
parent 810cfee22b
commit dc980e269d
2 changed files with 8 additions and 6 deletions

View file

@ -124,6 +124,7 @@ class ManagedSystem extends MetaSystem {
HashMap<String, BigDecimal> fieldsMap = [ HashMap<String, BigDecimal> fieldsMap = [
sentBytes: it.sentBytes.first(), sentBytes: it.sentBytes.first(),
receivedBytes: it.receivedBytes.first(),
transferredBytes: it.transferredBytes.first(), transferredBytes: it.transferredBytes.first(),
] ]
map.put("fields", fieldsMap) map.put("fields", fieldsMap)
@ -156,6 +157,7 @@ class ManagedSystem extends MetaSystem {
HashMap<String, BigDecimal> fieldsMap = [ HashMap<String, BigDecimal> fieldsMap = [
writeBytes: it.writeBytes.first(), writeBytes: it.writeBytes.first(),
readBytes: it.readBytes.first(), readBytes: it.readBytes.first(),
transmittedBytes: it.transmittedBytes.first(),
] ]
map.put("fields", fieldsMap) map.put("fields", fieldsMap)
log.debug(fieldsMap.toString()) log.debug(fieldsMap.toString())

View file

@ -10,11 +10,11 @@ class VirtualFiberChannelAdapter {
String physicalLocation String physicalLocation
String physicalPortWWPN String physicalPortWWPN
Integer viosId Integer viosId
BigDecimal numOfReads List<BigDecimal> numOfReads
BigDecimal numOfWrites List<BigDecimal> numOfWrites
BigDecimal readBytes List<BigDecimal> readBytes
BigDecimal writeBytes List<BigDecimal> writeBytes
BigDecimal runningSpeed List<BigDecimal> runningSpeed
BigDecimal transmittedBytes List<BigDecimal> transmittedBytes
} }