Re: Pgadmin4 System Stats Extension Design

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
Cc: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>, 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-12 04:56:31
Message-ID: CAG7mmoxpYEyd0p+pUNgZWk2OsiSca19A0KrpZ2Ad+uW1etkvyA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, Jul 11, 2023 at 8:45 PM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
wrote:

> On Tue, Jul 11, 2023 at 2:29 PM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
> wrote:
>
>> On Tue, 11 Jul 2023 at 12:04, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
>> wrote:
>>
>>> Try preloading the extension in the PostgreSQL server.
>>> e.g. Add this extension in the 'shared_preload_libraries' in
>>> postgresql.conf.
>>>
>>> Reference: https://pgpedia.info/s/shared_preload_libraries.html
>>>
>> Thank you, Ashesh! I will try this and provide you with an update.
>>
> I tried adding 'system_stats' in the 'shared_preload_libraries', but it
> doesn't work.
>
Did you restart the database server?

-- Ashesh

>
> On Tue, 11 Jul 2023 at 14:38, Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> Disk info doesn't need to be updated live. You can update it once on
>> every tab change. I feel process info should be a bar chart. The
>> categories are fixed in number and we can use StreamingChart for bar chart.
>>
> Okay sure.
>
> Please ignore the previous WIP.patch file. I missed to include few
> untracked changes.
> I have attached the new patch file. Sorry for the inconvenience.
>
> New patch consist:
>
> - Single dashboard with option to toggle between General and System
> Statistics
> - Summary tab (except process info details).
> - CPU Details
> - Memory Details
>
>
> Thanks,
> Sahil
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2023-07-12 05:07:00 [pgadmin-org/pgadmin4] 940d19: Fixed an issue where pgAdmin failed to setup role ...
Previous Message Sahil Harpal 2023-07-11 15:15:09 Re: Pgadmin4 System Stats Extension Design