Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jayantlad opened this issue Nov 2, 2021 · 2 comments
Open

Comments

@jayantlad
Copy link

jayantlad commented Nov 2, 2021

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
Copy link

We are facing the same issue as well.

1 similar comment
@prashanth-volvocars
Copy link

We are facing the same issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants