내용으로 건너뛰기

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년 전518회 조회

1개 답변
0

Hi,

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

Best,

Didier

전문가

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.