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?

已提问 1 年前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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则