Posted On: Mar 7, 2024

AWS X-Ray announces support for logging eight new data and one new management event APIs in AWS CloudTrail, enabling you to have full visibility across every AWS X-Ray API action in your AWS account for operational and security best practices. AWS X-Ray provides developers with end-to-end tracing capabilities to help debug distributed applications and quickly identify performance bottlenecks.

With today's launch, you can now capture all AWS X-Ray API activity for data and management events in AWS CloudTrail, such as data events from PutTraceSegments, GetTraceSummaries, and management events from GetSamplingStatisticSummaries. Using the information that AWS CloudTrail collects, you can identify specific actions that send data to X-Ray or read from X-Ray. Logging AWS X-Ray API actions by using AWS CloudTrail helps enable auditing, governance, and compliance of your AWS accounts.

AWS CloudTrail logging for X-Ray is now available in all AWS Regions where AWS X-Ray is available, including the AWS GovCloud (US) Regions, China (Beijing, operated by Sinnet) region, and China (Ningxia, operated by NWCD) region.

To turn on AWS CloudTrail logging for AWS X-Ray data or management events, configure logging by using the AWS CloudTrail console or by using CloudTrail APIs. To learn more about logging X-Ray APIs by using CloudTrail, see Logging X-Ray API calls with AWS CloudTrail in the documentation. For more information about X-Ray, see the AWS X-Ray User Guide.