From 88d480282a2ad1b63d263355f0414ddc1eaba730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ahmet=20hazar=20g=C3=BCrb=C3=BCz?= <141240393+hazargurbuzz@users.noreply.github.com> Date: Sat, 26 Oct 2024 14:56:04 +0000 Subject: [PATCH] feat: Added client version information in system diagnostic --- upsonic/remote/on_prem.py | 1 + 1 file changed, 1 insertion(+) diff --git a/upsonic/remote/on_prem.py b/upsonic/remote/on_prem.py index f4189db..dbb698b 100644 --- a/upsonic/remote/on_prem.py +++ b/upsonic/remote/on_prem.py @@ -312,6 +312,7 @@ def system_diagnostic(self): "Uptime (seconds)": round(time.time() - psutil.boot_time(), 2), "CPU Usage (%)": psutil.cpu_percent(interval=1), "RAM Usage (%)": psutil.virtual_memory().percent, + "Client Version":self.get_client_version() } return json.dumps(diagnostic_data, indent=4)