Project

General

Profile

Cleanup #25075

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

Added by Lenz Grimmer 5 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
dashboard/osds
Target version:
Start date:
07/24/2018
Due date:
% 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 Need More Info

History

#1 Updated by Lenz Grimmer 5 months ago

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

#2 Updated by Tiago Melo 4 months ago

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

#3 Updated by Tiago Melo 4 months ago

  • Status changed from In Progress to Need Review

#4 Updated by Tiago Melo 4 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 4 months ago

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

#6 Updated by Nathan Cutler 3 months 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

Also available in: Atom PDF