|
13 | 13 |
|
14 | 14 | **Description:** Entities used by AWS Elastic Container Service (ECS). |
15 | 15 |
|
16 | | -**Other Attributes:** |
17 | | - |
18 | 16 | > :warning: This entity definition contains attributes without a role. |
19 | 17 | > Stable Entities MUST NOT have attributes without a defined role. |
20 | 18 |
|
21 | | -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
22 | | -|---|---|---|---|---|---| |
23 | | -| [`aws.ecs.task.id`](/docs/registry/attributes/aws.md) |  | `Conditionally Required` If and only if `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` | |
24 | | -| [`aws.ecs.cluster.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | |
25 | | -| [`aws.ecs.container.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). | `arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9` | |
26 | | -| [`aws.ecs.launchtype`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. | `ec2`; `fargate` | |
27 | | -| [`aws.ecs.task.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). | `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` | |
28 | | -| [`aws.ecs.task.family`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. | `opentelemetry-family` | |
29 | | -| [`aws.ecs.task.revision`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The revision for the task definition used to create the ECS task. | `8`; `26` | |
30 | | - |
31 | | ---- |
32 | | - |
33 | | -`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. |
34 | | - |
35 | | -| Value | Description | Stability | |
36 | | -|---|---|---| |
37 | | -| `ec2` | Amazon EC2 |  | |
38 | | -| `fargate` | Amazon Fargate |  | |
| 19 | +| Role | Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
| 20 | +|---|---|---|---|---|---|---| |
| 21 | +| Other | [`aws.ecs.task.id`](/docs/registry/attributes/aws.md) |  | `Conditionally Required` If and only if `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` | |
| 22 | +| Other | [`aws.ecs.cluster.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html). | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | |
| 23 | +| Other | [`aws.ecs.container.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html). | `arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9` | |
| 24 | +| Other | [`aws.ecs.launchtype`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. | `ec2`; `fargate` | |
| 25 | +| Other | [`aws.ecs.task.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids). | `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` | |
| 26 | +| Other | [`aws.ecs.task.family`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task. | `opentelemetry-family` | |
| 27 | +| Other | [`aws.ecs.task.revision`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The revision for the task definition used to create the ECS task. | `8`; `26` | |
39 | 28 |
|
40 | 29 | ## AWS EKS |
41 | 30 |
|
|
45 | 34 |
|
46 | 35 | **Description:** Entities used by AWS Elastic Kubernetes Service (EKS). |
47 | 36 |
|
48 | | -**Other Attributes:** |
49 | | - |
50 | 37 | > :warning: This entity definition contains attributes without a role. |
51 | 38 | > Stable Entities MUST NOT have attributes without a defined role. |
52 | 39 |
|
53 | | -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
54 | | -|---|---|---|---|---|---| |
55 | | -| [`aws.eks.cluster.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | |
| 40 | +| Role | Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
| 41 | +|---|---|---|---|---|---|---| |
| 42 | +| Other | [`aws.eks.cluster.arn`](/docs/registry/attributes/aws.md) |  | `Recommended` | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | |
56 | 43 |
|
57 | 44 | ## AWS Log |
58 | 45 |
|
|
62 | 49 |
|
63 | 50 | **Description:** Entities specific to Amazon Web Services. |
64 | 51 |
|
65 | | -**Other Attributes:** |
66 | | - |
67 | 52 | > :warning: This entity definition contains attributes without a role. |
68 | 53 | > Stable Entities MUST NOT have attributes without a defined role. |
69 | 54 |
|
70 | | -| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
71 | | -|---|---|---|---|---|---| |
72 | | -| [`aws.log.group.arns`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The Amazon Resource Name(s) (ARN) of the AWS log group(s). [1] | `["arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*"]` | |
73 | | -| [`aws.log.group.names`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The name(s) of the AWS log group(s) an application is writing to. [2] | `["/aws/lambda/my-function", "opentelemetry-service"]` | |
74 | | -| [`aws.log.stream.arns`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The ARN(s) of the AWS log stream(s). [3] | `["arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b"]` | |
75 | | -| [`aws.log.stream.names`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The name(s) of the AWS log stream(s) an application is writing to. | `["logs/main/10838bed-421f-43ef-870a-f43feacbbb5b"]` | |
| 55 | +| Role | Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values | |
| 56 | +|---|---|---|---|---|---|---| |
| 57 | +| Other | [`aws.log.group.arns`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The Amazon Resource Name(s) (ARN) of the AWS log group(s). [1] | `["arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*"]` | |
| 58 | +| Other | [`aws.log.group.names`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The name(s) of the AWS log group(s) an application is writing to. [2] | `["/aws/lambda/my-function", "opentelemetry-service"]` | |
| 59 | +| Other | [`aws.log.stream.arns`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The ARN(s) of the AWS log stream(s). [3] | `["arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b"]` | |
| 60 | +| Other | [`aws.log.stream.names`](/docs/registry/attributes/aws.md) |  | `Recommended` | string[] | The name(s) of the AWS log stream(s) an application is writing to. | `["logs/main/10838bed-421f-43ef-870a-f43feacbbb5b"]` | |
| 61 | + |
76 | 62 |
|
77 | 63 | **[1] `aws.log.group.arns`:** See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). |
78 | 64 |
|
79 | 65 | **[2] `aws.log.group.names`:** Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group. |
80 | 66 |
|
81 | 67 | **[3] `aws.log.stream.arns`:** See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream. |
82 | 68 |
|
83 | | - |
84 | 69 | <!-- markdownlint-restore --> |
0 commit comments