Project

General

Profile

Cleanup #25075

mgr/dashboard: Use human readable units on the OSD I/O graphs

Added by Lenz Grimmer over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/osds
Target version:
% Done:

0%

Tags:
Backport:
mimic
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, the OSD datatable provides two columns "Read bytes" and "Write bytes" and embedded charts that indicate the current rate in a tooltip when moving the mouse over individual points of the charts. However, the amount of data is displayed in "bytes", which is hard to read and convert.

Instead, these byte values displayed in the tooltips should be converted to human-readable units (e.g. kiB, MiB, TiB) and the column headers should be renamed to "Reads" and "Writes".

osd-reads-writes.png View (24.8 KB) Lenz Grimmer, 07/24/2018 09:19 AM


Related issues

Copied to mgr - Backport #26986: mimic: mgr/dashboard: Use human readable units on the OSD I/O graphs Resolved

History

#1 Updated by Lenz Grimmer over 1 year ago

This would also be in alignment with the units used in the "Size" and "Usage" columns.

#2 Updated by Tiago Melo over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Tiago Melo

#3 Updated by Tiago Melo over 1 year ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Tiago Melo over 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Nathan Cutler over 1 year ago

  • Copied to Backport #26986: mimic: mgr/dashboard: Use human readable units on the OSD I/O graphs added

#6 Updated by Nathan Cutler over 1 year ago

mimic backport is non-trivial - especially the patch in src/pybind/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.spec.ts

needs a dashboard developer

#7 Updated by Lenz Grimmer 11 months ago

  • Pull request ID set to 23446

#8 Updated by Nathan Cutler 10 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF