Posted On: Feb 9, 2023

Amazon Simple Notification Service (Amazon SNS), a messaging service that provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications, now supports active tracing with AWS X-Ray. Customers can now view traces that flow through Amazon SNS topics to destination services, such as Amazon Simple Queue Service, AWS Lambda, and Amazon Kinesis Data Firehose, in addition to traversing the application topology in Amazon CloudWatch ServiceLens. Customers can enable AWS X-Ray active tracing using the Amazon SNS SetTopicAttributes API, Amazon SNS Management Console, or via AWS CloudFormation.

With AWS X-Ray active tracing enabled for Amazon SNS, customers can identify bottlenecks and monitor the health of event-driven applications by looking at segment details for Amazon SNS topics, such as resource metadata, faults, errors, and message delivery latency for each subscriber.

Active tracing with AWS X-Ray for Amazon SNS is generally available in all AWS Regions, including the AWS GovCloud (US) Regions and AWS China Regions. To learn more about enabling AWS X-Ray active tracing for Amazon SNS, visit the Amazon SNS Developer Guide. For more information on resource policies and how to visualize Amazon SNS requests in AWS X-Ray, visit the AWS X-Ray Developer Guide.