03 Mar 2022 02:31 PM - edited 03 Mar 2022 02:55 PM
Hi All,
Trying to integrate a Java lambda function with Dynatrace SaaS on our project. Have followed the instructions laid out here.
The lambda gets deployed via terraform and I have followed the "Configure and deploy using Terraform" instructions.
Deployment is successful, in aws console you can see:
The OneAgent layer:
And the env vars are set:
When I then test via the aws lambda console:
It hangs:
And eventually times out:
Upon inspecting the logs the actual business logic inside the lambda appears to execute. Having added the debugging env vars for the dynatrace layer I can see these (amongst other things):
There are some warnings and it ultimately times out:
Any help/suggestions appreciated.
Solved! Go to Solution.
12 Apr 2022 09:54 AM
Have you double checked your variables? Make sure that there are no typos.
Also maybe try to "recreate" the variables and ARN layer.
12 Apr 2022 11:06 AM
have you verified which jdk you have used? as the current supported version for java lambda is only Java 8 (only for amazon-corretto-8 JDK)