updated DB query and build instructions

This commit is contained in:
2026-02-16 11:19:18 +01:00
parent aea86f8fe2
commit 717d173408
4 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -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),