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?

질문됨 일 년 전313회 조회
1개 답변
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
전문가
Peter_G
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠