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
Warm registry view caches before resolving mock metrics targets
rcourtmandb4ef39d8768
diff --git a/internal/mock/platform_fixtures.go b/internal/mock/platform_fixtures.goindex 8bf844c8da..96023a8d5b 100644--- a/internal/mock/platform_fixtures.go+++ b/internal/mock/platform_fixtures.go@@ -229,6 +229,11 @@ func (g FixtureGraph) UnifiedResourceSnapshot() ([]unifiedresources.Resource, ti}resources := registry.List()+ // Force one view-cache build before resolving targets: on a freshly+ // ingested registry the caches are dirty and every MetricsTarget call+ // would fall back to a scan over all source mappings, which at demo+ // scale turns this loop quadratic.+ registry.VMs()for i := range resources {if target := registry.MetricsTarget(resources[i].ID); target != nil {resources[i].MetricsTarget = target