I need to create XRay to collect the traces for a nodejs project I'm working on on AWS with Docker and ECS, but I haven't been able to make it work yet.
I inserted const AWSXRay = require('aws-xray-sdk'); to app.js after installing "aws-xray-sdk" (npm instal aws-xray-sdk). I then inserted app.use(AWSXRay.express.openSegment('Example')) before the routes and app.use(AWSXRay.express.closeSegment()) after the routes.
I've reached a few endpoints, but Xray doesn't show any traces or data; perhaps I need to set up anything in AWS? In xray, I have a default group. Thanks!