aws / aws-xray-sdk-dotnet

The official AWS X-Ray SDK for .NET.
Apache License 2.0
110 stars 64 forks source link

CloudWatch log blocked with AWSSDKHandler.RegisterXRayForAllServices(); #217

Open jayantlad opened 3 years ago

jayantlad commented 3 years ago

We've integrated this NuGet into a NetCore API, 3.1 app. We have followed the guides in the docs. And we have experienced the following behaviours

We are unable to call AWSSDKHandler.RegisterXRayForAllServices(); as we see no logs emitted to CloudWatch. We believe there is a bug here.

Calling register for each AWS service, blocks cloud watch logs AWSSDKHandler.RegisterXRay<>(); AWSSDKHandler.RegisterXRay<>(); AWSSDKHandler.RegisterXRay<>(); AWSSDKHandler.RegisterXRay<>(); AWSSDKHandler.RegisterXRay<>();

Calling register for one AWS service, logs to cloud watch AWSSDKHandler.RegisterXRay();

Calling register manifest, logs to cloud watch AWSSDKHandler.RegisterXRayManifest(Path.Join(AppDomain.CurrentDomain.BaseDirectory, "DefaultAWSWhitelist.json"));

We are using all the latest versions for relevant packages, 2.7.3. Are there any know issue with AWSSDKHandler.RegisterXRayForAllServices().

prashanth-volvocars commented 2 years ago

We are facing the same issue as well.

prashanth-volvocars commented 2 years ago

We are facing the same issue as well.