mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
a4d800fe3e
An agent running inside an LXC measures /proc through the shared kernel and reports the node's utilisation, not the container's. Because SourceAgent outranked SourceProxmox in the metric merge, that value overrode the hypervisor's cgroup-accounted CPU on the guest's canonical resource, so the workloads row disagreed with the (Proxmox-sourced) history chart by orders of magnitude on idle guests. Demote agent-sourced utilisation metrics below the platform source when the target resource is a hypervisor-managed guest (vm / system-container). The freshness gate still lets a live agent cover for a stale platform source. Fixes #1597 Contract-Neutral: behavioral fix: demote in-guest agent utilisation below platform source on hypervisor-managed guests (issue #1597); no public contract delta