Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions docs/reference/edot-java/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,9 @@ This table only contains minimal configuration, see each respective feature for
| `OTEL_INFERRED_SPANS_ENABLED` | `false` | [Inferred spans](/reference/edot-java/features.md#inferred-spans) | 1.0.0+ |
| `OTEL_JAVA_EXPERIMENTAL_SPAN_STACKTRACE_MIN_DURATION` | `5ms` | [Span stacktrace](/reference/edot-java/features.md#span-stacktrace) | 1.0.0+ |
| `ELASTIC_OTEL_UNIVERSAL_PROFILING_INTEGRATION_ENABLED` | `auto` | [Elastic Universal profiling integration](/reference/edot-java/features.md#elastic-universal-profiling-integration) | 1.0.0+ |
| `OTEL_INSTRUMENTATION_OPENAI_CLIENT_ENABLED` | `true` | [OpenAI client instrumentation](/reference/edot-java/supported-technologies.md#openai-client-instrumentation) | 1.4.0+ |
| `ELASTIC_OTEL_JAVAAGENT_LOG_LEVEL` | `INFO` | [Agent logging](#agent-logging) | 1.5.0+ |
| `ELASTIC_OTEL_VERIFY_SERVER_CERT` | `true` | [Exporter certificate verification](#exporter-certificate-verification) | 1.5.0+ |

## OpenAI Client settings

The following settings are available:

| 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. ↪ |

## Central configuration

```{applies_to}
Expand Down
7 changes: 1 addition & 6 deletions docs/reference/edot-java/supported-technologies.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,4 @@ The EDOT Java agent also supports technologies listed here that are not availabl

Refer to the [EDOT Java agent configuration](/reference/edot-java/configuration.md#configuration-options) for defaults that might differ from the OpenTelemetry Java Instrumentation.

## OpenAI Client instrumentation

The minimum supported version of the OpenAI Java Client is 1.1.0. This instrumentation supports:

* Tracing for requests, including GenAI-specific attributes such as token usage.
* Opt-in logging of OpenAI request and response content payloads.
$$$openai-client-instrumentation$$$
Loading