We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this only affects older docker versions
In older docker versions /proc/$DOCKER_DAEMON_PID/cgroup looks like
/proc/$DOCKER_DAEMON_PID/cgroup
10:net_prio:/docker-daemon 9:perf_event:/docker-daemon 8:blkio:/docker-daemon 7:net_cls:/docker-daemon 6:freezer:/docker-daemon 5:devices:/docker-daemon 4:memory:/docker-daemon 3:cpuacct:/docker-daemon 2:cpu:/docker-daemon 1:cpuset:/docker-daemon
In the code we consider the process as a container if 'docker' in line[2] here: https://github.com/DataDog/dd-agent/blob/5.8.5/checks.d/docker_daemon.py#L807
'docker' in line[2]
Recent versions are not affected since the lines look like i:whatever:/, without the matching docker string.
i:whatever:/
docker
This was discovered on a docker daemon version 1.9.1 and does not exist in 1.11 so it should affect few people but should still be fixed.
The text was updated successfully, but these errors were encountered:
Fixed by #2847
Sorry, something went wrong.
No branches or pull requests
this only affects older docker versions
In older docker versions
/proc/$DOCKER_DAEMON_PID/cgroup
looks likeIn the code we consider the process as a container if
'docker' in line[2]
here: https://github.com/DataDog/dd-agent/blob/5.8.5/checks.d/docker_daemon.py#L807Recent versions are not affected since the lines look like
i:whatever:/
, without the matchingdocker
string.This was discovered on a docker daemon version 1.9.1 and does not exist in 1.11 so it should affect few people but should still be fixed.
The text was updated successfully, but these errors were encountered: