Passer au contenu

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

demandé il y a 2 ans521 vues

1 réponse
0

Hi,

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

Best,

Didier

EXPERT

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.