Link a Textract async operation with downstream process
- 主要言語
- Python
- スター
- 338
- フォーク
- 147
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have a simple setup with one Lambda function that starts a Textract analysis of a document via StepFunctions.
The textract task in the StepFunction definition sends a notification on an SQS which triggers another lambda. I have little to no control on what message is sent in the SQS by textract since it's a predefined aws task.
Everything is patched with Xray and what it's seen from console is essentially this:
(client) -> LambdaA -> StepFunction -> Textract
(client) -> LambdaB (this one has been triggered by the SQS message)
However I was wondering if it is possible at all to link the two flows in Xray and see them as one trace_id or linked traces.
Can two traces be linked manually with the SDK?
コントリビューションガイド
調査の方向性
まず AWS X-Ray SDK for Python の tracing API と、issue で説明されている Step Functions、Textract、SQS、Lambda の統合ポイントを確認します。SDK がこれらのフローを 1 つのトレースまたはリンクされたトレースに手動で関連付けることをサポートしているかどうかを判断し、サポートされる結果または制限事項を文書化します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, python
- 領域
- observability-sre
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100