dd-trace-java
dd-trace-java copied to clipboard
Support for GraalVM
We have several functions that are compiled with GraalVM and deployed to run in Lambda's custom runtime. The Lambda zip bundle contains two files application which is the binary generated by GraalVM's compiler and bootstrap which contains the following script:
#!/bin/sh
set -euo pipefail
./application -Xmx512m -Djava.library.path=$(pwd)
The wrapper only will set the Java appropriate variables in the runtime matches *java*. Is there a way for us to get this working with GraalVM? Will APM even work with a GraalVM compiled Java application?
We are working on the APM support for GraalVM Lambda cc: @maxday
@tianchu @maxday Are you still working on supporting GraalVM? Thanks in advance and it would be greatly appreciated to have it!
Transferred the issue to here, as there's nothing on the Serverless we can do yet to support GraalVM, but it looks like this ticket should belong here
https://docs.datadoghq.com/tracing/trace_collection/compatibility/java/?tab=graalvm#graalvm-native-image-support describes how to use dd-java-agent to instrument native images built by GraalVM