- Version: 8.17.1
- Operating System: Kubernetes/AWS EKS (1.31)
- Steps to Reproduce:
- Deploy a Fleet Managed Elastic Agent DaemonSet to Kubernetes (with "Agent monitoring" enabled)
- Observe memory utilization
- Disable "Agent monitoring"
- Observe memory utilization
- Observe that the memory utilization decreases by ~200-250MB (~25% of total agent pod/container memory utilization)

The drop in memory on the above graph is when "Agent monitoring" was disabled. The right-hand legend, is the total (sum) of all memory utilization for Elastic Agents in an environment. The total goes from ~39.5GB (with "Agent Monitoring" enabled), to ~30GB (with "Agent monitoring" disabled).

If observed on a per pod basis, the average memory utilization goes from ~980MB to ~740MB.
I believe that this is a bug, as it doesn't make sense as to why simply enabling monitoring of the Elastic Agent itself increases the memory utilization by ~200-250MB/~25% of total memory used by the agent.