- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
The Datadog Agent and Datadog Amazon ECS integration can retrieve ECS resources for the ECS Explorer. This feature enables you to monitor the status of EC2 and Fargate tasks, services, and other ECS components across all of your AWS accounts. You can view resource specifications for tasks within a service and correlate them with related logs, metrics, profiling, and more.
Ensure you have enabled AWS resource collection, the ECS on EC2 integration, and the ECS on Fargate integration.
Note: The collection interval for these integrations is approximately 24 hours. To achieve a shorter collection interval of 15 seconds, it is recommended to install the Datadog Agent in your ECS cluster.
If using the task definition to install the Datadog Agent, add this environment variable to the Datadog Agent container to activate this feature.
{
"containerDefinitions": [
{
"name": "datadog-agent",
"environment": [
{
"name": "DD_ECS_TASK_COLLECTION_ENABLED",
"value": "true"
}
# (...)
]
# (...)
}
],
# (...)
}
For manual configuration, include the following line in the Datadog Agent configuration file.
ecs_task_collection_enabled: true
Use the Select Resources dropdown menu in the top left corner of the page to switch between Tasks, Services, Clusters, and other ECS resources.
Each view includes a data table for organizing information by fields such as status, name, and AWS tags, along with a detailed Cluster Map to provide an overview of your tasks and ECS clusters.
Refer to Query filter details for information on filtering these views.
Group tasks by tags for an aggregated view that helps you find information more efficiently. You can group tasks using the Group by bar located at the top right of the page or by clicking on a specific tag and finding the group by function in the context menu, as illustrated below.
Additionally, use facets on the left side of the page to filter or group resources according to your interests, such as tasks with Fargate launch type.
The cluster map provides a comprehensive view of your tasks and ECS clusters, allowing you to see all resources on one screen with customizable groups and filters. You can also select which metrics to color the nodes.
To examine resources from the cluster map, click on any circle or group to display a detailed panel.
Click on any row in the table or any object in the Cluster Map to display detailed information about a specific resource in a side panel.
The Task Definition tab in the side panel shows the complete task definition.
For task definitions, it also provides a history of seven days, allowing you to view all task definition revisions used by running tasks over the past week and compare changes between them.
Other tabs provide additional information for troubleshooting the selected resource:
DNS
or ip_type
, or use the Group by filter to group network data by tags, such as task_name
or service
.You can refine displayed resources by entering a query in the Filter by search bar at the top left of the page. The query filtering operates similarly to the filtering in the Kubernetes Explorer.
In the ECS Explorer, you can use tag#
to search across both Datadog tags and AWS tags.
In addition to the tags you have configured in your Datadog Agent, Datadog generates additional tags based on resource attributes, which can assist in your searching and grouping needs. These tags are conditionally added to resources when relevant.
All resources include the following tags:
aws_account
: AWS account IDregion
: AWS account region<resource_name>_arn
: Resource ARN tags, such as task_arn
, task_definition_arn
, service_arn
, and more.ecs_<resource_name>
: Resource name tags, such as ecs_task
, ecs_task_definition
, ecs_service
, and more.Related Resources are tagged in relation to one another. Some examples include:
XYZ-ARN
, can have tags ecs_service:xyz
and service_arn:xyz-arn
.XYZ-ARN
, can have tags ecs_cluster:xyz
and cluster_arn:xyz-arn
.Tip: Use the filter query autocomplete feature to explore available related resource tags. Type
ecs_
to see suggested results.
Some resources have specific tags. The following tags are available in addition to the shared tags mentioned above.
Resource | Extracted Tags |
---|---|
Task | task_family task_version task_launch_type |
Task Definition | task_family task_version task_launch_type task_definition_status |
Service | task_family task_version task_launch_type service_status |
Resource | With Datadog Agent | Without Datadog Agent |
---|---|---|
Cluster | ~15 minutes | ~15 minutes |
Task | ~15 seconds | ~24 hours |
Task Definition | ~15 seconds | ~24 hours |
Service | ~24 hours | ~24 hours |