Instrument SSM command run on EC2 with proper X-Ray parent ID of Step Function

0

I have an API Gateway which starts execution of State Machine and it runs command on EC2 through SSM Automation. Everything is X-Ray traced and now I wanna add tracing to some python script run through SSM. Is there any way that I can retrieve point that piece of code to SSM in the graph using parent segment ID or something? I was able to pass trace ID but it uses another client and graph looks as follows: Enter image description here

1 Resposta
0

Can you try also set the parent segment id for the segment created in Python code? Pseudo code: child = xray_recorder.begin_segment("python_code",traceid, parent.segment_id)

AWS
respondido há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas