Skip to content

Commit

Permalink
Merge pull request #33 from Upsonic/client_version1
Browse files Browse the repository at this point in the history
feat: Added client version information in system diagnostic
  • Loading branch information
onuratakan authored Nov 26, 2024
2 parents a4da04d + 88d4802 commit 0c7da87
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 0c7da87

Please sign in to comment.