- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
To pull custom AWS tags for an EC2 instance through the Datadog Agent without using the AWS integration, follow these steps:
Datadog recommends gathering instance tags through the EC2 Instance Metadata Service.
This mechanism is available in the Datadog Agent v7.35.0.
datadog.yaml
file, set collect_ec2_tags: true
and collect_ec2_tags_use_imds: true
.If tags are not available through the EC2 Instance Metadata Service, the Datadog Agent uses the EC2 API to gather tags.
ec2:DescribeTags
.datadog.yaml
, set collect_ec2_tags: true
."ec2:Describe*"
, "ec2:Get*"
.datadog.conf
, set collect_ec2_tags: true.collect_security_groups
.ec2:DescribeTags
.DD_COLLECT_EC2_TAGS=true
.Note: For backwards compatibility, the Agent will also try using the EC2 instance role if the ECS task role is unavailable or has insufficient permissions.
This option only pulls in custom tags set on the EC2 host under the Tags tab in your AWS console:
Tags like availability_zone
, region
, or instance_type
are only available by pulling in the EC2 host through the AWS integration.