Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: increase MetricSamples to 24 points for hourly resolution
rcourtmand23f1c78dea6
diff --git a/internal/ai/context/builder.go b/internal/ai/context/builder.goindex 5944486b80..e2e7b60364 100644--- a/internal/ai/context/builder.go+++ b/internal/ai/context/builder.go@@ -486,9 +486,9 @@ func (b *Builder) computeGuestMetricSamples(guestID string) map[string][]MetricPif len(points) < 3 {continue}- // Downsample to ~12 points (roughly every 2 hours over 24h)- // This gives the LLM a compact view of recent trends- sampled := DownsampleMetrics(points, 12)+ // Downsample to ~24 points (roughly hourly over 24h)+ // This gives the LLM good resolution to spot patterns and spikes+ sampled := DownsampleMetrics(points, 24)if len(sampled) >= 3 {samples[metric] = sampled}