Discrepancy between elastic agent and metricbeat data

I'm currently trying to decide to use metricbeat or elastic-agent for my system and I'm finding that there is quite a significant difference in the memory reported for each system.

Here are the screenshots

Here is what docker reports for that container using docker stats

Why is there this difference and should I assume that metricbeat is less accurate than the elastic-agent?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.