-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
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
[docker] TLS support in docker connection / docker-py #1299
Comments
Bonus: I can connect to my docker daemon using docker-py:
Could |
Thanks @coulix for this detailed explanation! The main problem is that the current check doesn't support TLS. It shouldn't be hard to add its support to our current code (by using Concerning the env. variables, it's a wider issue (the Agent doesn't use env. variables in its checks) which should be addressed more globally. So initially we will have these TCP_VERIFY and CERT_PATH options in the configuration |
News With the 1.5 release Docker exposes a stats endpoint that could maybe be used by data-dog to collect containers metrics. |
@LotharSee Changing milestone to 5.4.0 |
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: #1299 #1648 #1739 #1742 #1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: DataDog#1299 DataDog#1648 DataDog#1739 DataDog#1742 DataDog#1896
This is a new version of the docker check, it's called docker_daemon (name can be changed). The previous check "docker" is now deprecated and won't receive further support. In terms of features, this adds: - Support for TLS connections to the daemon - New metrics: - Network metrics - Memory limits - Container size (rootfs) - Image size - Support for labels (convert them into tags). Off by default, uses a list of labels that should be converted. - Support for ECS tags: task name and task version Backward incompatible changes: - docker.disk.size metric is renamed to docker.container.size_rw - Old optional metrics: https://github.com/DataDog/dd-agent/blob/5.4.x/checks.d/docker.py#L29-L38 Are not collected anymore - Old old tags are not supported anymore (e.g. `name` instead of container_name) fix: DataDog#1299 DataDog#1648 DataDog#1739 DataDog#1742 DataDog#1896
The recommended way of running docker is with TLS support:
It seems that there is no way for dd-agent to pick up those env variables, the urllib call therefore fails to establish a connection.
The text was updated successfully, but these errors were encountered: