Posted On: Jun 1, 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 AWS X-Ray active tracing with Amazon SNS FIFO topics. You can now view traces that flow through Amazon SNS FIFO topics to Amazon Simple Queue Service (Amazon SQS) FIFO queues, in addition to traversing the application topology in Amazon CloudWatch ServiceLens. You can use Amazon SNS FIFO topics, in combination with Amazon SQS FIFO queues, to build applications that require messages to be sent and processed in a strict sequence and without duplicates. You 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 FIFO topics is generally available in all public AWS Regions.
To learn more about Amazon SNS support for AWS X-Ray active tracing, see the following:
- Active tracing in Amazon SNS in the Amazon SNS Developer Guide.
- Amazon SNS and AWS X-Ray in the AWS X-Ray Developer Guide.
- Monitor Amazon SNS-based applications end-to-end with AWS X-Ray active tracing blog post.