如何获取步骤机ID?
问题
问题是,每当步骤功能失败时,我们都想对几件事做。
- 捕获错误
- 发送通知(包括故障的确切引用)
- 当前处理错误(反向过程)
,这是request-id中唯一可用的信息,只要跟踪中有异常/错误,就只有有限的信息。如此参考所示
-
-
- >)
如何获得确切的堆栈参考并将其传递给lambda或在lambda中访问它?
Problem
The issue is that whenever the step functions fail we want to do to a couple of things.
- Catch the error
- Send a notification (including the exact reference of the failure)
- Handle the error (reverse process)
Currently, the only information that is available in the request-id, whenever there is an exception/error inside the traceback, there is only a limited amount of information. As seen in this reference https://docs.aws.amazon.com/lambda/latest/dg/python-context.html
Tried:
- The context variable
- Digging into boto3 to find a hacky solution
- Step function ResultSet data (doesn't provide \w error id)
How to get the exact stack reference and pass it to a lambda or access it within a lambda?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论