Skip to content

Commit

Permalink
feat: Added client version information in system diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
hazargurbuzz committed Oct 26, 2024
1 parent 771a8a2 commit 88d4802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 88d4802

Please sign in to comment.