-
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] add labels as tags #1742
Comments
That's a reasonable idea, it should probably be opt-in though as labels may be containing sensitive data. What do you think @tj ? |
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
Implemented in #1824 |
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
Hi, I don't see this being resolved in #1824 - do datadog automatically extract all docker labels as tags now ? |
@jippi Hi, no it doesn't. You have to whitelist the labels that you want to be extracted: |
Any interest in supporting a "tags" (or similar) label, or simply grabbing all labels for container metrics? For our case we'd love to have
LABEL program="program-name"
for example and filter that way, even when theimage_repository
tag is available we may have several instances of an image with different configurations so that one will be helpful but it would still be great to have per-container tagging.cheers
The text was updated successfully, but these errors were encountered: