To send traces to AWS X-Ray from an application in an Amazon ECS task, you run the AWS Distro for OpenTelemetry collect…