nest-xray icon indicating copy to clipboard operation
nest-xray copied to clipboard

no trace data in xray

Open schealex opened this issue 3 years ago • 3 comments
trafficstars

Hi,

first of all thanks for the work to make the upgrade to nestjs v8.

I've added the tracing module to one of our applications and also replaced the HttpModule with the HttpTracingModule. We are running our applications inside of an AWS EKS and have a DaemonSet for xray in place and running.

Somehow though there are no traces beeing collected.

Is there any guidance on how to debug this? Would the sdk log something if it was unable to send the traces?

Regards Alex

schealex avatar Jan 22 '22 20:01 schealex

@schealex did you work out what was wrong? We're facing a similar issue.

nomiddlename avatar May 11 '22 01:05 nomiddlename

You might need to give the proper role/permissions to your task? https://github.com/aws-samples/aws-xray-fargate/blob/master/src/xray-pol.json

emeraldsanto avatar Sep 12 '22 22:09 emeraldsanto

@schealex did you work out what was wrong? We're facing a similar issue.

@nomiddlename sadly not, still having this issue and @emeraldsanto yes we have the policies in place. We are using IaC with Terraform to set the whole thing up.

schealex avatar Sep 16 '22 17:09 schealex