jiva
jiva copied to clipboard
Stats() returns incorrect ReadIOPS/WriteIOPS values
I got statistics via Jiva's stats API.
{
"Name": "pvc-30266c71-21b1-11e8-953c-060010b04334",
"ReadIOPS": "327066",
"ReplicaCounter": 0,
"RevisionCounter": 0,
"SCSIIOCount": {
"0": 6640,
"158": 454,
"160": 2,
"163": 2,
"18": 3388,
"26": 908,
"40": 327066,
"42": 258086
},
"SectorSize": "4096",
"Size": "5368709120",
"TotalReadBlockCount": "17549045760",
"TotalReadTime": "307301413134",
"TotalWriteTime": "215794984886",
"TotatWriteBlockCount": "5395550208",
"UpTime": 81611.82397587,
"UsedBlocks": "57861",
"UsedLogicalBlocks": "29075",
"WriteIOPS": "244996",
"actions": {},
"links": {
"self": "http://192.168.1.11:9501/v1/stats"
},
"type": "stats"
}
I think that these ReadIOPS/WriteIOPS values is TotalIOCount rather than IOPS. I would like gotgt to return correct IOPS values.