X-Ray and S3 notification

0

Hello,

I have a pipeline which is as follow:
lambda1 -> S3 -> lambda2

Lambda1 put an object in an S3 bucket and lambda2 is invoked by the S3 notification

X-Ray doesn't make the link between lambda1 and lambda2. I tried to do it programmatically by making lambda1 pass its trace_id and segment id to lambda2 and then in lambda2 call putTraceSegments. Actually it worked but then nothing more is traced from lambda2. I guess it's because the trace_id computed by AWS in lambda2 doesn't match the one used to create the segment in lambda2. However, even if it were working, it's quite a lot of work to make this link.

  1. Is there any plan to integrate this kind of scenario in X-Ray ? I saw in this thread https://forums.aws.amazon.com/thread.jspa?threadID=292267&tstart=0 that there is work going on for SNS integration. Would S3 notification be part of it ?

  2. In such scenario lambda1 -> S3 -> lambda2
    Wouldn't be better if X-Amzn-Trace-Id is forwarded between lambda1 and lambda2? Correlation between components of our pipeline is made difficult , it seems that only custom code would achieve it but I would like to avoid it at maximum.

Thanks in advance

alain78
질문됨 5년 전272회 조회
2개 답변
0

Hi there,

Thank you four sharing your use case and feedback. The link of S3 notification to Lambda is a popular request and this is already in our roadmap. We cannot provide an ETA but we will try to get this done the soonest we can. Please stay tuned and thank you for your patience.

Regards,
Haotian

AWS
답변함 5년 전
0

Hi Haotian,

Thank you very much for your return on this. That's great for it already being in the roadmap.

Regards,
Alain

alain78
답변함 5년 전

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

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

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

관련 콘텐츠