I am trying to get AWS X-Ray working in a multi-container Beanstalk app as described in the docs. I found a community-built X-Ray container which I can run alongside my app: pottava/xray:2.0. According to docker stats
and docker ps
this container is running and receiving/sending network traffic (the traces are sent via UDP to the container). But there is no tracing data showing up in the AWS console.
I have not enabled X-Ray via a .ebextensions/
config file as suggested here. Trying this failed the deployment to Beanstalk. In fact, the multi-container environment is not listed as a supported platform. So while plenty of docs mention using X-Ray on Beanstalk, I am not sure if there is a way to configure this on my multi-Docker environment.
- Can X-Ray configured in multi-Docker Beanstalk? If yes, how?
- What's the best way to troubleshoot the collection & delivery of traces?