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

Datadog not honoring DD_COLLECT_EC2_TAGS when ec2 integration is turned on

Open JohnlNguyen opened this issue 7 years ago • 0 comments

Additional environment details (Operating System, Cloud provider, etc): datadog/agent:6.11.3 datadog/cluster-agent:1.3.1

Steps to reproduce the issue:

  1. Set DD_COLLECT_EC2_TAGS: false
  2. Turn on ec2 integration https://docs.datadoghq.com/integrations/amazon_ec2/
  3. dd-agent still collects ec2 tags in metrics

Describe the results you received: Metrics have ec2 tags Describe the results you expected: Metrics should not have ec2 tags

Additional information you deem important (e.g. issue happens only occasionally):

DD agent should honor the DD_COLLECT_EC2_TAGS rather than requiring users to modify the IAM policy to disable ec2:DescribeInstances in order to stop collecting ec2 tags

JohnlNguyen avatar Aug 28 '19 21:08 JohnlNguyen