From: | Sahil Harpal <sahilharpal1234(at)gmail(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>, Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Pgadmin4 System Stats Extension Design |
Date: | 2023-07-11 06:28:29 |
Message-ID: | CAKi=nnfj2OcTBkUoWwMZ5YifExgrxs9Pbt42-2W1+n32LEmgvQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
I have written code for the Summary and CPU tabs and would like to post it
here for review.
I'm currently displaying the static values in the process info pie chart
because of a minor bug. The pg_sys_process_info() query takes much longer
(around 2 mins) to execute and prevents the updation of other graphs and
tables. I tried adding it in separate useInterval with larger pollDelay,
but it didn't work. In the patch, I commented out that snippet (In
Summary.jsx).
I'm attaching the *WIP.patch* file which contains the latest changes and
also the SS of the Summary and CPU tabs.
Attachment | Content-Type | Size |
---|---|---|
CPU.png | image/png | 132.8 KB |
Summary.png | image/png | 163.1 KB |
WIP.patch | application/x-patch | 9.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2023-07-11 06:34:35 | Re: Pgadmin4 System Stats Extension Design |
Previous Message | dependabot[bot] | 2023-07-11 06:26:35 | [pgadmin-org/pgadmin4] 66c466: Python dependency: Update pillow requirement in /w... |