dd-agent
dd-agent copied to clipboard
Datadog not honoring DD_COLLECT_EC2_TAGS when ec2 integration is turned on
Additional environment details (Operating System, Cloud provider, etc): datadog/agent:6.11.3 datadog/cluster-agent:1.3.1
Steps to reproduce the issue:
- Set DD_COLLECT_EC2_TAGS: false
- Turn on ec2 integration https://docs.datadoghq.com/integrations/amazon_ec2/
- 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