Netdata collects system metrics reading /proc/*. RAM metrics come from /proc/meminfo
:
-
free
is MemFree. -
cached
is Cached + SReclaimable - Shmem. -
used
is MemTotal - MemFree - MemCached - Buffers.
You can check the values yourself, e.g. grep MemFree /proc/meminfo
from inside the container.