Java agent used to start the Datadog Serverless Mini Agent. Intended for use with Azure Spring Apps.
- From the latest release, download
dd-serverless-azure-java-agent.jar
and upload it to your Azure Spring App in persistent storage. - Add the Datadog Serverless Azure Java Agent and Datadog Java Tracer as Java agents to your
JVM_OPTIONS
.
-javaagent:/persistent/dd-serverless-azure-java-agent.jar -javaagent:/persistent/dd-java-agent.jar
- Set environment variables
DD_API_KEY
=<YOUR API KEY>
DD_SITE
=datadoghq.com
DD_SERVICE
=<SERVICE NAME>
DD_ENV
=<ENVIRONMENT
DD_VERSION
=<VERSION>
DD_TRACE_TRACER_METRICS_ENABLED
=true
Follow the instructions in the dd-trace-java
repo to set up your Java environment: Setting up development environment.
Build the Datadog Serverless Mini Agent from libdatadog and add the linux binary, datadog-serverless-trace-mini-agent
, to src/main/resources
.
To build the project run:
./build.sh