Missing Service Map when integrating Elastic APM with AWS Lambda?

Tosho_Toshev
Thu, 13 Jul 2023 08:04:48 +0000
APM

Hello,

I'm new to Elastic APM and I'm trying to integrate it with AWS Lambda. I followed the steps described here: Monitoring AWS Lambda

I added the necessary layers and environment variables to my lambda functions. After that I created a basic step function and executed it several times. The execution was successful and I got the APM data to my trial elastic cloud instance.

The problem that I encountered is that the Service Map is missing for the lambda functions. I noticed that when the lambda function is calling an external server via http request the map is present, but the communication between the lambdas in the step function is not.

I went through the documentation and I saw that the Service Map is build with the help of the trace parent header. My guess is that I'm not seeing the Service Map between the lambda functions, because the lambda api invokes them via events and not http calls.

Is my guess correct or is there another reason that I'm not seeing the service map? Maybe I missed something in the documentation?

5 posts - 4 participants