cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AWS Lambda - Java function monitoring

Gogi
Helper

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:

arn:aws:lambda: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.

 

4 REPLIES 4

Harmera
Visitor

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

Gogi
Helper

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?

 

Gogi
Helper

 

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

 

uros_djukic1
Dynatrace Mentor
Dynatrace Mentor

Hello,
FYI since Oneagent version 1.251, we support Node.js v16
OneAgent release notes version 1.251 | Dynatrace Docs

Featured Posts