opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Enhance the ECS detector to include the task and container metadata to the resource attributes.

Open avadhut123pisal opened this issue 3 years ago • 0 comments

Closes #1922

  1. 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

  1. Fixed the code to get the container id. It was working for the ec2 launch type but not for the Farget launch type.

avadhut123pisal avatar Mar 26 '22 14:03 avadhut123pisal