datadog-agent icon indicating copy to clipboard operation
datadog-agent copied to clipboard

Add internal Fargate container to ignore list

Open ayozemr opened this issue 6 years ago • 13 comments

Describe what happened: When using Datadog Agent as sidecar container on Fargate (https://www.datadoghq.com/blog/monitor-aws-fargate/), a hidden internal container is discovered by Datadog called "internalecspause" with image "fg-proxy:tinyproxy"

Describe what you expected: This container should be filtered like its being done in Kubernetes (AFAIK), because its counting for billing and its a hidden container in AWS. Don't think nobody wants to metric it in DD.

Steps to reproduce the issue: Add Datadog Agent to the task definition of your service with ECS_FARGATE=true and other env vars. When task starts, you will see 3 containers in DD: Your service + DD Agent + AWS internal pause

Additional environment details (Operating System, Cloud provider, etc): AWS Fargate

Datadog agent task env vars: DD_AC_EXCLUDE | "image:." DD_AC_INCLUDE | "image:REDACTED.dkr.ecr.us-east-1.amazonaws.com/." DD_API_KEY | APIKEY DD_APM_ENABLED | true DD_APM_NON_LOCAL_TRAFFIC | true DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL | true DD_LOGS_ENABLED | true ECS_FARGATE | true

ayozemr avatar Nov 29 '18 10:11 ayozemr