Hi all, I have attached the updated patch with recent changes.
New changes:
1. Displayed the appropriate message If the System Stat extension does
not exist.
2. Provided option to configure refresh rates for the API calls
(Preferences settings > Dashboards > Refresh rates).
3. Added I/O analysis of block devices under the storage tab.
4. Fixed PEP-8 errors.
5. Fixed the linter errors.
6. Moved all the system stats related .jsx files under a seperate folder
"dashboard/static/js/SystemStats".
7. Added formatter to convert disk sizes (in bytes) to human readable
format.
Pending Work:
1. Process information -
- Issue: The pg_sys_process_info() query takes much longer (more than
2 mins) to execute and prevents the updation of other graphs and tables.
2. Disk information -
- Issue: The pg_sys_disk_info() query returns NULL value for some of
the drive letters.
3. StreamingChart -
- Issue: Graph shifting glitch. For the first time, graphs start from
the opposite side, and after the following API call or a few
seconds later,
those get adjusted.
I need suggestions for labels for different tables and charts. Also, could
you please clarify the use of the counterData variable, which is used for
some of the charts (tps_stats, ti_stats, to_stats, and bio_stats)?
Thank you,
Sahil
SS_WIP.patch
Description: Binary data
