aws / aws/aws-xray-sdk-python

Link a Textract async operation with downstream process

Aperta
#397 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Python
Stelle
338
Fork
147
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando le API di tracing di AWS X-Ray SDK for Python e i punti di integrazione di Step Functions, Textract, SQS e Lambda descritti nell'issue. Determina se l'SDK supporta il collegamento manuale di questi flussi in un'unica trace o in trace collegate e documenta il risultato supportato o la limitazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, python
Ambito
observability-sre
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.