Link a Textract async operation with downstream process
- Lenguaje dominante
- Python
- Estrellas
- 338
- Forks
- 147
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
Línea de trabajo
Empieza revisando las APIs de tracing de AWS X-Ray SDK for Python y los puntos de integración de Step Functions, Textract, SQS y Lambda descritos en el issue. Determina si el SDK admite vincular manualmente estos flujos en una única traza o en trazas vinculadas, y documenta el resultado admitido o la limitación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, python
- Área
- observability-sre
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100