Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qW6mf-0029a9-HU for pgadmin-hackers@arkaria.postgresql.org; Wed, 16 Aug 2023 03:01:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qW6lf-002CRg-8H for pgadmin-hackers@arkaria.postgresql.org; Wed, 16 Aug 2023 03:00:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qW6le-002CRY-Sc for pgadmin-hackers@lists.postgresql.org; Wed, 16 Aug 2023 03:00:19 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qW6lX-000MtG-QM for pgadmin-hackers@postgresql.org; Wed, 16 Aug 2023 03:00:17 +0000 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-26b0b4a7cccso4109954a91.1 for ; Tue, 15 Aug 2023 20:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692154810; x=1692759610; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Db+e7Wj/VYmgnE5By+78ZBnDn0rX/2extqgYwhmj1x0=; b=asyjYDi+hck0B0A6t8rJhbiWZvYdv+3CqkVZO31AtLJDuUM+aT/HOJqv6lXpLx29oM GqUaqme4CWfCiwyOkxJ9AODno4Z7C8op2VSQ4rPatbHZuGXzi6gzlq6JBbYWKRSrrRdd RPhmuBKTWmyVsyV0/c7T8S95IK1t89dlzG68IPgxyJ5xSrYyoLzWQNorbSCS7JHciFfF DtZYhRU9KN8FFikVgqyFlEjU4A122VSpHJVhw5oe8r7DVOadddG/PT/HZL63ZWZEyP1w 4h4Lgoahop5ZzY800YQ2cRfe2SqSDhJHiTyfS6H2v56Kaydz1nDpRE7GSWHAiv0M+JkV WPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692154810; x=1692759610; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Db+e7Wj/VYmgnE5By+78ZBnDn0rX/2extqgYwhmj1x0=; b=GvJCG8bZnDy7l+FY7u7zu9SSlBf4/3rSwOD9k8X9zm9713FQHUkUevGxTjk9d1K0GM zxYL0v2jZhE3r620xb1UMCd6hTowPvAOg7b9jx5GoyqVInMsrUeWMK/K6pDohyk5wBkc NVsN607LL+QfsvGi4v8uNYFc0i5adgNyQz9w04lPhSsPlyVAlrQdFAsIROV//41MXFct 0nylxD4y3pTiuUdLLD+0dsbycKdRiXYxfQDmA2WOJNxN+x3lOb1HGZuu1rVhCCwb/I/T P8UHdw0da9fr72QSvCmo62g3s8CTfxegCZqyH69KXA8pGBXkKBa0BzO7+fD69hcw77pG r15A== X-Gm-Message-State: AOJu0YxEiyW2W383tH6hgLXpCRpnheyV51usEVsyc5uymH/CmPWJISU3 6dm3uqdbq69zvfPs2/RvMYLKPrDfiPLZ7kd6fl6FDN74+KaPsA== X-Google-Smtp-Source: AGHT+IHnixXVAaws7XYFF9NfaY1o+cEkiAqa/gxl0MSiOHmh1kpq0J3LMaxggXDHuRb7JKOFPxiHGSL1HiSsTsD5psk= X-Received: by 2002:a17:90a:7d10:b0:26b:c5b:bb44 with SMTP id g16-20020a17090a7d1000b0026b0c5bbb44mr395694pjl.13.1692154809931; Tue, 15 Aug 2023 20:00:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sahil Harpal Date: Wed, 16 Aug 2023 08:29:58 +0530 Message-ID: Subject: Re: Pgadmin4 System Stats Extension Design To: pgadmin-hackers@postgresql.org Cc: Khushboo Vashi , Aditya Toshniwal , Ashesh Vashi , Dave Page , Akshay Joshi Content-Type: multipart/alternative; boundary="00000000000059dab20603017e2b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000059dab20603017e2b Content-Type: text/plain; charset="UTF-8" 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 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 > > --00000000000059dab20603017e2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
This email is regarding the recen= t patch I shared with you. Have you encountered any issues or identified ar= eas for improvement? Additionally, could you assist me in resolving the cha= llenges I'm currently facing and provide suggestions for chart titles?<= /div>

Thanks,
Sahil

3D""
On Thu, 10 Aug 2023 at 00:37, Sahil Harpal <sahilharpal1234@gmail.com> wrote:
<= /div>
Hi = all,

I have attached the updated patch with recent=C2=A0= 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 o= f block devices under the storage tab.
  4. Fixed PEP-8 errors.
  5. = Fixed the linter errors.
  6. Moved all the system stats related .jsx fi= les under a seperate=C2=A0folder "dashboard/static/js/SystemStats"= ;.
  7. Added formatter= =C2=A0to convert disk sizes (in bytes) to human readable format.
Pending Work:
  1. Process information -
    • Iss= ue: The pg_sys_process_info() query takes much longer (more than 2 mins) to= execute and prevents the updation of other graphs and tables.=C2=A0
    • Disk information -
      • Issue: The=C2=A0pg_sys_disk_info() qu= ery returns NULL value for some of the drive letters.
    • Streamin= gChart -=C2=A0
      • Issue: Graph shifting=C2=A0glitch.=C2=A0For the first time, graphs st= art from the opposite side, and after the following API call or a few secon= ds later, those get adjusted.
I need suggestions for lab= els 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_sta= ts, ti_stats, to_stats, and bio_stats)?

= Thank you,
Sahil

3D""
--00000000000059dab20603017e2b--