Skip to content

Commit

Permalink
Add aws.ecs.task.revision semantic convention (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi authored Mar 30, 2021
1 parent 888d0db commit 7aad901
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ release.

- Add details for filling semantic conventions for AWS Lambda ([#1442](https://github.com/open-telemetry/opentelemetry-specification/pull/1442))
- Update semantic conventions to distinguish between int and double ([#1550](https://github.com/open-telemetry/opentelemetry-specification/pull/1550))
- Add semantic convention for AWS ECS task revision ([#1581](https://github.com/open-telemetry/opentelemetry-specification/pull/1581))

### Compatibility

Expand Down
5 changes: 5 additions & 0 deletions semantic_conventions/resource/cloud_provider/aws/ecs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ groups:
brief: >
The task definition family this task definition is a member of.
examples: ['opentelemetry-family']
- id: task.revision
type: string
brief: >
The revision for this task definition.
examples: ["8", "26"]

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
| `aws.ecs.launchtype` | string | The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task. | `ec2`; `fargate` | No |
| `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` | No |
| `aws.ecs.task.family` | string | The task definition family this task definition is a member of. | `opentelemetry-family` | No |
| `aws.ecs.task.revision` | string | The revision for this task definition. | `8`; `26` | No |

`aws.ecs.launchtype` MUST be one of the following:

Expand Down

0 comments on commit 7aad901

Please sign in to comment.