跳至内容

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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。