Skip to content

Conversation

hkaj
Copy link
Member

@hkaj hkaj commented Apr 7, 2016

What does this PR do?

It adds an option to enable the network check in the docker image. More precisely we used to rm network.yaml.default in the dockerfile, now it's deleted in the entrypoint only if the NETWORK_CHECK env var is not set. So the default behavior stays the same, but people who know what they're doing can enable it.

Why

This allows to monitor the network throughput for the host if the container runs with un-containerized networking (using --net=host). README.md has been updated to explain clearly the implications and the arrangements to make.

Note: using this option without the --net=host option will work but the metrics will be irrelevant. They will only report dd-agent network metrics which are not really useful and are already collected by the docker check anyway.

@remh remh added this to the Agent 5.9.0 milestone May 23, 2016
@edude03
Copy link

edude03 commented Sep 29, 2016

Awww I was excited waiting for this in the 5.9.0 release but looks like it didn't make it in :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants