Enable X-Ray Daemon on Fargate for AWS Batch Jobs


I would like to use X-Ray to view traces of my AWS Batch jobs that I'm running on Fargate resources. The following blog post shows how to install the daemon on EC2 instances running a Batch job. https://aws.amazon.com/blogs/mt/configure-aws-x-ray-tracing-aws-batch-jobs/

Running User Data scripts does not appear to be possible with Fargate.

Is X-Ray tracing possible on AWS Batch Jobs that run on Fargate resources? If so, how?

asked a year ago469 views
1 Answer

In ECS, tracing need to run a daemon process as a side car with your application https://aws-otel.github.io/docs/getting-started/collector

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions