Trace incoming requests

0

I am working on a .net 6 web api which deployed to a lambda. I have enabled the x-ray tracing in lambda and also added below code in api program.cs class

AWSXRayRecorder recorder = new AWSXRayRecorderBuilder().Build();
AWSXRayRecorder.InitializeInstance(recorder: recorder);

AWSSDKHandler.RegisterXRayForAllServices();
var app = builder.Build();
app.UseXRay("my-api");

I can see the traces but HTTP method and URL Address is blank. Is there something else needs configuring here?

Enter image description here

Kasun
asked 3 months ago281 views
1 Answer
0

Hi,

This seems to be a known issue: https://github.com/aws/aws-xray-sdk-python/issues/221

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions