Skip to content

Commit 05df8f9

Browse files
committed
Update docs for corrected environment variable
1 parent ed8e835 commit 05df8f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/open-telemetry.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ Per default, the built-in OpenTelemetry instrumentation does not capture request
6464
**Valid Options:** `omit`, `sanitize`, `raw`
6565

6666
|============
67-
| Environment Variable | `OTEL_INSTRUMENTATION_ELASTICSEARCH_CAPTURE_SEARCH_QUERY`
67+
| Environment Variable | `OTEL_RUBY_INSTRUMENTATION_ELASTICSEARCH_CAPTURE_SEARCH_QUERY`
6868
|============
6969

7070
[discrete]
7171
===== Sanitize the {es} search request body
7272

7373
You can configure the list of keys whose values are redacted when the search query is captured. Values must be comma-separated.
74+
Note in v8.3.0 and v8.3.1, the environment variable `OTEL_INSTRUMENTATION_ELASTICSEARCH_CAPTURE_SEARCH_QUERY` was available
75+
but is now deprecated in favor of the environment variable including `RUBY`.
7476

7577
**Default:** `nil`
7678

0 commit comments

Comments
 (0)