How to get Docker Container stats using DataDog API?
I'm not sure I understand what you're trying to do, but .. DataDog has a Docker Intergration, which when configured provides a status of every single container on a host. Then, by simply querying the DataDog metrics, you can see if  a particular container is up or not, or how many containers you have available per image, or what's the CPU consumption etc.