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

Is it possible to monitor AWS Lambda written in Java?

Shrivathsan_Sun
Newcomer

Hi,

 

Is it possible to monitor AWS Lambda written in Java with Dynatrace OneAgent? We have tried OA Extension approach but Database requests were not traced.

 

Thanks

4 REPLIES 4

Anonymous
Not applicable

Do you mean using the wrapper? "AWS_LAMBDA_EXEC_WRAPPER: /opt/dynatrace" ? 

 

https://www.dynatrace.com/support/help/shortlink/aws-lambda-extension#overview 

 

How does the DB Calls are executed?

 

 

yes we had followed the same link and used AWS_LAMBDA_EXEC_WRAPPER.

 

We use node-postgres to execute DB calls. 

 

Note : We are not using extensions for now. We use  https://www.npmjs.com/package/@dynatrace/oneagent to integrate dynatrace with our Lambdas written in nodejs which works fine. Need help to integrate dynatrace for Java based lambdas.

nick_hurt
Dynatrace Supporter
Dynatrace Supporter

Hi Shrivathsan_Sun,

 

The env var wrapper can be used to monitor java based Lambdas, however it is important to note that at least 1.5GB of RAM needs to be allocated to the Lambda function. More details available from the original link by Dante.

 

Does this answer your question?

 

Thanks,

Nick

Hi Nick,

 

We had tried extensions but database calls were not traced. We are using PostgreSql and Dynatrace support team  confirmed that its driver is not yet supported in the Extensions. We had dropped the plan of using Extensions.

 

We have managed to integrate Dynatrace with NodeJs lambdas using OA npm module. Need help for a Lambda which is written in Java.

 

Thanks,

Shri