updated DB query and build instructions
This commit is contained in:
1 parent
aea86f8fe2
commit
717d173408
4 files changed
+6
-3
No files matched your search
@@ -149,8 +149,8 @@ func (s *MetricsStore) QuerySystemMetrics(from, to time.Time, resolution int) ([
|
||||
SELECT
|
||||
(ts / ?) * ? AS bucket_ts,
|
||||
AVG(cpu_percent),
|
||||
AVG(mem_used_mb),
|
||||
AVG(mem_total_mb),
|
||||
ROUND(AVG(mem_used_mb)),
|
||||
ROUND(AVG(mem_total_mb)),
|
||||
AVG(temp_celsius),
|
||||
AVG(load_avg_1),
|
||||
AVG(load_avg_5),
|
||||
|
||||
Reference in new issue
Block a user