27 Jul 2022 01:21 PM - last edited on 27 Jul 2022 01:55 PM by Karolina_Linda
Hi,
I have configured python, Java, nodes.js AWS java functions monitoring according to steps mentioned
https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-cloud-platforms/amazon-web-s...
I have used Configure with environment variables option for all 3 types of functions.
added Lambda layer ARN also respectively,
Ex:
arnlambda:ap-south-1:425727461473:layer:Dynatrace_OneAgent_1_245_2_20220621-093917_nodejs:1
1.Python function: got discovered(in services), can see number of requests, requests status,response time, distributed tracing, service flow, backtrace, traces.
2.Node.js function: cant see in Services (even after generating traffic).
3.Java function: cant see in Services (even after generating traffic).
please let me know why node.js and java functions are not getting discovered in Dynatrace.
Solved! Go to Solution.
29 Jul 2022 11:09 AM
Hi Gogi,
To monitor Java function through lambda you need to assign >1.5GB RAM. Go through the below link and let me know if its worked.
Deploy OneAgent as AWS Lambda extension | Dynatrace Docs
29 Jul 2022 11:29 AM
Hi,
Thanks for reply.
yes, if we set 1.5GB memory to Java function its monitoring is working.
Still node.js function monitoring is not working, I have tried with 1.5GB, 3008MB memory.
Any other options we need to check for node.js other then memory?
11 Aug 2022 05:50 AM
1.All 3(node.js, java, python) function should on on an Amazon Linux 2 runtime.
node.js - only 12.x and 14.x nodes.js functions are supported, 16.x is not supported in dynatrace, when I changed node.js to 14.x Version it got discovered.
java function - minimum 1.5GB RAM is required to get discovered in Dynatrace, after increasing RAM to 1.5GB it got discovered.
Refer Prerequisites :
https://www.dynatrace.com/support/help/shortlink/aws-lambda-extension#lambda-java-rt-mem-limit
25 Nov 2022 01:03 PM
Hello,
FYI since Oneagent version 1.251, we support Node.js v16
OneAgent release notes version 1.251 | Dynatrace Docs