Docker High Performance by Allan Espinosa

Docker High Performance by Allan Espinosa

Author:Allan Espinosa
Language: eng
Format: mobi, azw3, epub, pdf
Publisher: Packt Publishing
Published: 2016-01-27T23:00:00+00:00


First, insert the following lines in /etc/collectd/collectd.conf:LoadPlugin "cgroups"

<Plugin cgroups>

CGroup "/^docker.*.scope/"

</Plugin>

Next, restart collectd by typing the following command:

dockerhost$ systemctl restart collectd.service

Finally, wait for a few minutes for Graphite to receive enough metrics from collectd so that we can get an initial feel to visualize our Docker container's CPU metrics.

We can now check the CPU metrics of our Docker containers by querying for the dockerhost.cgroups-docker*.* metrics on our Graphite deployment's render API. The following is the image produced by the render API URL http://dockerhost/render/?target=dockerhost.cgroups-docker-*.*:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.