AWS ECS
Task
Status:
type: aws.ecs.task
Description: A running AWS Elastic Container Service (ECS) task.
Attributes:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values |
|---|---|---|---|---|---|---|
| Identity | aws.ecs.task.arn | Required | string | The ARN of a running ECS task. | arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b; arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd | |
| Description | aws.ecs.task.id | Conditionally Required If and only if aws.ecs.task.arn is populated. | string | The ID of a running ECS task. The ID MUST be extracted from task.arn. | 10838bed-421f-43ef-870a-f43feacbbb5b; 23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd | |
| Description | aws.ecs.launchtype | Recommended | string | The launch type for an ECS task. | ec2; fargate (see more) | |
| Description | aws.ecs.task.family | Recommended | string | The family name of the ECS task definition used to create the ECS task. | opentelemetry-family | |
| Description | aws.ecs.task.revision | Recommended | string | The revision for the task definition used to create the ECS task. | 8; 26 |
aws.ecs.launchtype has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
| Value | Description | Stability |
|---|---|---|
ec2 | Amazon EC2 | |
fargate | Amazon Fargate |
Cluster
Status:
type: aws.ecs.cluster
Description: An AWS Elastic Container Service (ECS) cluster.
Attributes:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values |
|---|---|---|---|---|---|---|
| Identity | aws.ecs.cluster.arn | Required | string | The ARN of an ECS cluster. | arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster |
Container
Status:
type: aws.ecs.container
Description: An application container running in an AWS Elastic Container Service (ECS) task.
Attributes:
| Role | Key | Stability | Requirement Level | Value Type | Description | Example Values |
|---|---|---|---|---|---|---|
| Identity | aws.ecs.container.arn | Required | string | The Amazon Resource Name (ARN) of an ECS container. | arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9 |
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!