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?

posta un anno fa313 visualizzazioni
1 Risposta
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
ESPERTO
Peter_G
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande