Add cpu_load and mem_used to Job stats

Fixes #111
This commit is contained in:
2023-06-15 11:07:48 +02:00
parent 85c7b9e357
commit 9137931b74
6 changed files with 15 additions and 3 deletions

View File

@@ -450,6 +450,7 @@ func (r *JobRepository) MarkArchived(
case "mem_bw":
stmt = stmt.Set("mem_bw_avg", stats.Avg)
case "load":
case "cpu_load":
stmt = stmt.Set("load_avg", stats.Avg)
case "net_bw":
stmt = stmt.Set("net_bw_avg", stats.Avg)