Server Metrics (CPU/RAM)

Hi

I have a world of warcraft server running as docker containers (so it basically doesn’t run inside AMP - just followed azerothcore’s installation guide, so db, auth and world have a different container).
everything works fine so far (made a custom instance with correct background image, a script to start/stop the server via docker commands, etc.).

what i’m missing now is this tho:
how can i get the cpu and ram data to AMP?
in my script i have an output every x seconds like this (pulled from docker via collect_docker_stats command and adding them together):

CPU Usage: 35.35%
Memory Usage: 2296.171 MiB

Is there any documentation about it?
tbh i’m completely lost and can’t find anything about how it works exactly or what the sources can be.

greetings and thanks in advance