opentelemetry-go-contrib
opentelemetry-go-contrib copied to clipboard
Enhance the ECS detector to include the task and container metadata to the resource attributes.
Closes #1922
- Support for the following resource attributes is added:
aws.ecs.cluster.arn aws.ecs.container.arn aws.ecs.launchtype aws.ecs.task.arn aws.ecs.task.family aws.ecs.task.revision cloud.availability_zone container.image.name container.image.tag container.runtime
- Fixed the code to get the container id. It was working for the ec2 launch type but not for the Farget launch type.