跳至內容

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

已提問 2 年前檢視次數 521 次

1 個回答
0

Hi,

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

Best,

Didier

專家

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。