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
Default mock trend seeding to 48h instead of 90 days
rcourtman9a7afbd2eb5d
diff --git a/internal/monitoring/mock_metrics_history.go b/internal/monitoring/mock_metrics_history.goindex 90eb383e93..dadbaa087d 100644--- a/internal/monitoring/mock_metrics_history.go+++ b/internal/monitoring/mock_metrics_history.go@@ -22,7 +22,13 @@ import ()const (- defaultMockSeedDuration = 90 * 24 * time.Hour+ // defaultMockSeedDuration bounds how much synthetic trend history mock+ // mode seeds at startup. Measured on the demo droplet (identical entity+ // counts): a 90-day seed put the process near 1GB of heap before the+ // first real tick, a 6h seed at ~200MB. 48h keeps day-scale charts fully+ // populated; anyone exercising long-range charts opts into more via+ // PULSE_MOCK_TRENDS_SEED_DURATION.+ defaultMockSeedDuration = 48 * time.HourdefaultMockSampleInterval = 1 * time.Minute // 1m for detailed recent charts)