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:
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.
Have you double checked your variables? Make sure that there are no typos.
Also maybe try to "recreate" the variables and ARN layer.
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)