Skip to content

Stats() returns incorrect ReadIOPS/WriteIOPS values #341

@zoetrope

Description

@zoetrope

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions