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개 답변
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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠