X-ray Daemon in ECS Cluster not sending traces

0

I have set up an X-ray daemon on one of my ECS services as a sidecar by the following guide here https://docs.aws.amazon.com/xray/latest/devguide/xray-daemon-ecs.html

  1. I have setup Xray daemon as a sidecar to one of the service Enter image description here

with UDP port 2000 open and task role assigned with appropriate policies Enter image description here Enter image description here Enter image description here

But the x-ray console didn't receive any traces from the x-ray API: Enter image description here

In my log suppose to be shown successfully sent batch after proxy starts but it wasn't. Enter image description here

Can anyone help with what I missed please?

asked a year ago305 views
1 Answer
0

I'm not sure what language you are using but there is an additional config when using Fargate to set the Xray plugin to ECSPlugin - see here for java.

Additionally double check your subnet the container is running in has the internet access to the xray service or the vpc endpoint for xray if running in a private subnet

AWS
EXPERT
Peter_G
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