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

View file

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