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?

demandé il y a un an313 vues
1 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions