Re: Pgadmin4 System Stats Extension Design - Mailing list pgadmin-hackers

From Sahil Harpal
Subject Re: Pgadmin4 System Stats Extension Design
Date
Msg-id CAKi=nnfe=LtOy8yTXZ6hdCW6buaxOCtOGB7+rWWCzOa9c+YdHg@mail.gmail.com
Whole thread Raw
In response to Re: Pgadmin4 System Stats Extension Design  (Sahil Harpal <sahilharpal1234@gmail.com>)
List pgadmin-hackers
Hi,
This email is regarding the recent patch I shared with you. Have you encountered any issues or identified areas for improvement? Additionally, could you assist me in resolving the challenges I'm currently facing and provide suggestions for chart titles?

Thanks,
Sahil

On Thu, 10 Aug 2023 at 00:37, Sahil Harpal <sahilharpal1234@gmail.com> wrote:
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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: [pgadmin-org/pgadmin4] 2c81b3: Sort parent objects as well in Schema Diff tool.
Next
From: Khushboo Vashi
Date:
Subject: Re: Pgadmin4 System Stats Extension Design