title: Sending docker stats over Cloudwatch
body: <p>I have an Ubuntu instance running on EC2 set up with Cloudwatch. I'm successfully sending memory statistics with my setup so I know it's working.</p>
  <p>What I want to do now is send stats about the containers running on the Ubuntu docker instance to CloudWatch but I'm not finding any resources on how to define these custom metrics in the config file.</p>
  <p><code>/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json</code></p>
  <p>Like sending the <code>docker ps -a</code> table or the <code>docker stats</code> output to CloudWatch.</p>
  <p>Much appreciated</p>