Skip to content

Commit

Permalink
feat: Add version information to diagnostic data
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Nov 26, 2024
1 parent 0c7da87 commit 25c5092
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ 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()
"Client Version":self.get_client_version(),
"version": self.get_version(),
}
return json.dumps(diagnostic_data, indent=4)

Expand Down

0 comments on commit 25c5092

Please sign in to comment.