aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.57k stars 920 forks source link

[New repo]: Monitor your SNS-based applications end-to-end with AWS X-Ray Active Tracing #1350

Closed lorchda closed 1 year ago

lorchda commented 1 year ago

Description

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

In this sample application, we demonstrate common use cases where AWS X-Ray active tracing enabled for SNS provides a consistent view of tracing data across AWS services in real-world scenarios. We cover two architectural patterns which allow you to gain accurate visibility of your end-to-end tracing: SNS to Amazon Simple Queue Service (Amazon SQS) queues and SNS topics to Amazon Kinesis Data Firehose streams.

language

English

runtime

Python

Level

300

Type

Examples

Use case

Observability

Primary image

https://raw.githubusercontent.com/aws-samples/sns-xray-active-tracing-blog-source-code/main/images/x-ray-sns-tracing-integration-use-case-2-architecture.drawio.png

IaC framework

AWS SAM

AWS Serverless services used

Description headline

This sample application demonstrates Amazon SNS with AWS X-Ray active tracing

Repo URL

https://github.com/aws-samples/sns-xray-active-tracing-blog-source-code

Additional resources

Author Name

Daniel Lorch

Author Image URL

https://avatars.githubusercontent.com/u/98748454?v=4

Author Bio

Daniel Lorch is a Senior Consultant at Amazon Web Services based out of Switzerland. He is part of the Cloud Operations specialist team and passionate about helping customers implementing observability in their applications.

Author Twitter handle

No response

Author LinkedIn URL

https://www.linkedin.com/in/dlorch/

leave

No response

jbesw commented 1 year ago

Thanks for the contribution! This will be live at https://serverlessland.com/repos/sns-xray-active-tracing-blog-source-code soon.