Skip to content

Java agent used to start the Datadog Serverless Mini Agent. Intended for use with Azure Spring Apps.

License

Notifications You must be signed in to change notification settings

DataDog/dd-serverless-azure-java-agent

Repository files navigation

Datadog Serverless Azure Java Agent

Java agent used to start the Datadog Serverless Mini Agent. Intended for use with Azure Spring Apps.

Getting Started

  • 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

Contributing

Setting up development environment

Follow the instructions in the dd-trace-java repo to set up your Java environment: Setting up development environment.

Building the project

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