Amazon ECS Data Collection

Data collected

Metrics

Amazon ECS on EC2 is a container management service for Docker containers running on EC2 instances.

The following table lists metrics collected by the Agent or API crawler for Amazon ECS:

See metric-spec.json for a list of metrics provided by this integration.

Each of the metrics retrieved from AWS is assigned the same tags that appear in the AWS console, including but not limited to hostname, security-groups, and more.

Note: Metrics prefixed with ecs.containerinsights.* can be collected by enabling Collect custom metrics under the Metric Collection tab of the AWS Integration page.

Metrics collected by the Agent when deployed in a Docker container also include the same metrics collected by the Docker integration. See the Docker integration metrics for a complete list of metrics.

Metrics prefixed with ecs.containerinsights.* can be collected by enabling collect custom metrics under the Metric Collection tab of the AWS Integration.

Note: Docker metrics are tagged accordingly with the following tags: container_name, task_arn, task_family, task_name, task_version. No further configuration is required.

Events

To reduce noise, the Amazon ECS integration is automatically set up to include only events that contain the following words: drain, error, fail, insufficient memory, pending, reboot, terminate. See example events below:

Amazon ECS Events

To remove this include list and receive all events from your Datadog Amazon ECS integration, reach out to Datadog support.

Further reading

PREVIEWING: domalessi/ssi-best-practices