Open-CAS / standalone-linux-io-tracer

Standalone Linux IO Tracer (iotrace) is a tool for block device and filesystem I/O tracing
BSD 3-Clause "New" or "Revised" License
58 stars 22 forks source link

io trace reports missing device model and need units in columns #264

Closed jcurrywa closed 4 years ago

jcurrywa commented 4 years ago
  1. Both JSON and CSV reports device.model are blank reports for lba-histogram, latency-histogram and fs statistics are all missing the device.model device.id device.model device.name device.size rangeBegin rangeEnd read write discard total
    8388656   sdd 2147483648 1 1   0   0
    8388656   sdd 2147483648 2 3   0   0
    8388656   sdd 2147483648 4 7   0   0

but the Parsed IO Trace to human readable form

device.id device.model device.name device.partition file.creationDate.nanos file.creationDate.seconds file.eventType file.id file.offset file.path file.size header.sid header.timestamp io.error io.flush io.fua io.ioClass io.latency io.lba io.len io.operation io.qd io.writeHint
8388656 WDC WD4000FYYZ-0 sdd 8388656               1 123222603 FALSE FALSE FALSE 22 3264528 2210402464 256 Write 1 0
8388656 WDC WD4000FYYZ-0 sdd 8388656               2 123234707 FALSE FALSE FALSE 22 3252604 2210402720 256 Write 2 0
8388656 WDC WD4000FYYZ-0 sdd 8388656               3 123239648 FALSE FALSE FALSE 22 3247849 2210402976 256 Write 3 0
8388656 WDC WD4000FYYZ-0 sdd 8388656               4 123245725 FALSE FALSE FALSE 22 3241951 2210403232 256 Write 4 0
  1. When reporting any data in CSV, please add units where possible to improve the customer experience for example device.id | device.model | device.name | device.size (sectors) | rangeBegin (ns) | rangeEnd (ns) | read (count) | write (count) | discard | total