Important
Enable the AWS CloudWatch Metric Streams integration to monitor all CloudWatch metrics from your AWS services, including custom namespaces. Individual integrations are no longer our recommended option.
New Relic infrastructure integrations include an integration for reporting your Amazon EC2 Container Service (ECS) data and your Amazon EC2 Container Registry (ECR) data to New Relic products. This document explains the integration's features, how to activate it, and what data can be reported.
Important
New Relic also offers an ECS on-host integration, which reports a different data set than this cloud integration. For complete ECS monitoring, we recommend enabling both integrations.
Features
With New Relic's ECS/ECR monitoring integration, you can monitor reserved vs. utilized capacity, task execution, and registry of containers. AWS integration data is also available for analysis and chart creation in New Relic One.
Activate integration
To enable this integration, follow standard procedures to Connect AWS services to New Relic.
If you have services running on ECS, you can also enable monitoring of those services.
Important
In AWS, you have to opt-in for the new ARN format (announcement) to differentiate services with the same name in different clusters. If not, you could have data collision
Configuration and polling
You can change the polling frequency and filter data using configuration options.
Default polling information for the Amazon ECS/ECR integration:
- New Relic polling interval: 5 minutes
- Amazon CloudWatch data interval: 1 minute or 5 minutes
Find and use data
To find this integration's data, go to one.newrelic.com > Infrastructure > AWS and select one of the Amazon ECS/ECR integration links.
You can query and explore your data using the ComputeSample
event type. Use a provider
value of EcsCluster
for cluster data, or a provider
value of EcsService
for cluster-service data.
The integration collects these ECR/ECS definitions:
Name | Description |
---|---|
| This dimension filters the data you request for all resources in a specified cluster. All Amazon ECS metrics are filtered by |
| This dimension filters the data you request for all resources in a specified service within a specified cluster. |
For more on how to find and use integration data, see Understand integration data.
Metric data
The ECS/ECR integration collects the following data:
Cluster and service metrics
Name | Data type |
---|---|
| percent |
| percent |
Cluster metrics
Name | Data type |
---|---|
| percent |
| percent |
Service metrics
Name | Description |
---|---|
| The number of services that are running on the cluster in an |
| Number of tasks in the cluster that are in |
| Number of tasks in the cluster that are in |
| Number of container instances registered into the cluster |
Inventory data
EOL NOTICE
After March 2022, we're discontinuing support for several capabilities, including inventory data for cloud integrations. For more details, including how you can easily prepare for this transition, see our Explorers Hub post.
Inventory data provides information about the service's state and configuration. For more about inventory data, see Understand and use data.
aws/ecs/cluster
Name | Description |
---|---|
| The status of the cluster. The valid values are |
| User-generated string to identify the cluster. |
| AWS region where the cluster is running. |
aws/ecs/service
Name | Description |
---|---|
| The status of the service. The valid values are |
| User-generated string to identify the cluster. |
| User-generated string to identify the service. |
| Type of infrastructure on which tasks and services are hosted. The valid values are |
| AWS region where the service is running. |
| Upper limit on the number of service's tasks that are allowed in the |
| Lower limit on the number of service's tasks that must remain in the |
| The number of instantiations of the specified task definition to place and keep running on the cluster. |
| ARN of the task definition file that describes the containers that form the application. |