Este producto no es compatible con el sitio Datadog seleccionado. ().
Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Instrumentation

  1. Download the latest dd-java-agent JAR from the Datadog Java agent releases.

  2. Attach the Datadog Java agent at startup by passing it as a JVM argument. This must be set before the application starts.

java -javaagent:/path/to/dd-java-agent.jar -jar your-application.jar

If the application uses a startup script or Dockerfile, add the flag to JAVA_TOOL_OPTIONS:

JAVA_TOOL_OPTIONS="-javaagent:/path/to/dd-java-agent.jar"

The agent automatically instruments supported LLM providers and frameworks on startup. No additional code changes are required.