Improvements for AWS/ECS attributes (#597)
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com> Co-authored-by: Joao Grassi <joao.grassi@dynatrace.com>
This commit is contained in:
parent
fa0725719b
commit
3beb6cd937
|
|
@ -38,6 +38,8 @@ release.
|
|||
([#452](https://github.com/open-telemetry/semantic-conventions/pull/452/))
|
||||
- Add an example for gcp_pubsub asynchronous batch publish
|
||||
([#545](https://github.com/open-telemetry/semantic-conventions/pull/545))
|
||||
- Add `aws.ecs.task.id` attribute, corrected description for `aws.ecs.task.arn`.
|
||||
([#597](https://github.com/open-telemetry/semantic-conventions/pull/597))
|
||||
|
||||
### Fixes
|
||||
|
||||
|
|
|
|||
|
|
@ -12,9 +12,10 @@
|
|||
| `aws.ecs.cluster.arn` | 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` | Recommended |
|
||||
| `aws.ecs.container.arn` | 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` | Recommended |
|
||||
| `aws.ecs.launchtype` | string | The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. | `ec2` | Recommended |
|
||||
| `aws.ecs.task.arn` | string | The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html). | `arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b` | Recommended |
|
||||
| `aws.ecs.task.family` | string | The task definition family this task definition is a member of. | `opentelemetry-family` | Recommended |
|
||||
| `aws.ecs.task.revision` | string | The revision for this task definition. | `8`; `26` | Recommended |
|
||||
| `aws.ecs.task.arn` | 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` | Recommended |
|
||||
| `aws.ecs.task.family` | 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` | Recommended |
|
||||
| `aws.ecs.task.id` | 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` | Conditionally Required: If and only if `task.arn` is populated. |
|
||||
| `aws.ecs.task.revision` | string | The revision for the task definition used to create the ECS task. | `8`; `26` | Recommended |
|
||||
|
||||
`aws.ecs.launchtype` MUST be one of the following:
|
||||
|
||||
|
|
|
|||
|
|
@ -28,15 +28,25 @@ groups:
|
|||
- id: task.arn
|
||||
type: string
|
||||
brief: >
|
||||
The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
|
||||
examples: ['arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b']
|
||||
The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).
|
||||
examples: [
|
||||
'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'
|
||||
]
|
||||
- id: task.family
|
||||
type: string
|
||||
brief: >
|
||||
The task definition family this task definition is a member of.
|
||||
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.
|
||||
examples: ['opentelemetry-family']
|
||||
- id: task.id
|
||||
type: string
|
||||
brief: >
|
||||
The ID of a running ECS task. The ID MUST be extracted from `task.arn`.
|
||||
requirement_level:
|
||||
conditionally_required: If and only if `task.arn` is populated.
|
||||
examples: [ '10838bed-421f-43ef-870a-f43feacbbb5b', '23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd' ]
|
||||
- id: task.revision
|
||||
type: string
|
||||
brief: >
|
||||
The revision for this task definition.
|
||||
The revision for the task definition used to create the ECS task.
|
||||
examples: ["8", "26"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue