Technologies Supported by the EDOT Java Agent
The EDOT Java agent is a distribution of OpenTelemetry Java Instrumentation agent, it thus inherits all the supported (✅) technologies of the OpenTelemetry Java Instrumentation.
EDOT Collector / Elastic Stack versions
The EDOT Java agent sends data via the OpenTelemetry protocol (OTLP). While OTLP ingest works with later 8.16+ versions of the EDOT Collector, for full support it is strongly recommended that you use either EDOT Collector versions 9.x or Elastic Cloud Serverless for OTLP ingest.
Ingesting data from EDOT SDKs through EDOT Collector 9.x into Elastic Stack versions 8.18+ is supported.
See EDOT SDKs compatibility for support details.
JVM Versions
The EDOT Java agent supports JVM (OpenJDK, OpenJ9) versions 8+ This follows from the OpenTelemetry supported JMVs.
Application Servers
The EDOT Java agent supports all the application servers documented by the OpenTelemetry Java agent.
Libraries & Frameworks Instrumentations
The EDOT Java agent supports all the libraries and frameworks documented by the OpenTelemetry Java agent.
Please note that some supported technologies are disabled by default and need explicit configuration to be enabled.
The EDOT Java agent also supports technologies listed here that are not available in the OpenTelemetry Java Instrumentation.
See also the EDOT Java agent configuration for defaults that might differ from the OpenTelemetry Java Instrumentation.
LLM instrumentations
OpenAI Client instrumentation (tech preview)
Instrumentation for the official OpenAI Java Client.
Note that this instrumentation is currently in tech preview, because the OpenAI client itself is still in beta.
It supports:
- Tracing for requests, including GenAI-specific attributes such as token usage
- Opt-In logging of OpenAI request and response content payloads
Configuration options:
Option | default | description |
---|---|---|
OTEL_INSTRUMENTATION_OPENAI_CLIENT_ENABLED |
true |
enables or disable OpenAI instrumentation |
ELASTIC_OTEL_JAVA_INSTRUMENTATION_GENAI_EMIT_EVENTS |
value of OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT |
If set to true , the agent will generate log events for OpenAI requests and responses. Potentially sensitive content will only be included if OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT is true |
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT |
false |
If set to true , enables the capturing of OpenAI request and response content in the log events outputted by the agent. ↪ |