Posted On: Sep 14, 2020

Amazon Step Functions now supports tracing end-to-end workflows with Amazon X-Ray, giving you full visibility across state machine executions and making it easier to analyze and debug your distributed applications. 

Amazon Step Functions allows you to build resilient serverless workflows using Amazon Web Services services such as Amazon Lambda, Amazon SNS, and Amazon DynamoDB. Amazon X-Ray helps you analyze and debug your distributed applications, such as those built using a microservices architecture. Together, you can leverage the orchestration capabilities of Step Functions with the tracing, visualization, and debug capabilities of Amazon X-Ray to build, monitor and quickly debug serverless applications running at scale on Amazon Web Services. 

With X-Ray’s service map view, you can visually identify errors in resources and view error rates across your executions. You can drill down to root-cause issues and also understand the end-users impacted of faults and errors. Application performance can be improved as you can easily identify norms and outliers while analyzing and debugging high latency paths and jitter in your workflow executions. 

X-Ray can be enabled with the single click of a button in the console or via CloudFormation and a service map will be available upon completing your first execution.  

This feature is available in all regions where Amazon Step Functions is available, including Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD. View the Amazon Web Services China Regions table to learn more. To learn more about Step Functions in SAM read the documentation