Skip to content

Commit c8a30ba

Browse files
estolfopicandocodigo
authored andcommitted
Add valid options to capture search query option
1 parent c43cd2a commit c8a30ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/open-telemetry.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ With this configuration option you can enable (default) or disable the built-in
5050
Per default, the built-in OpenTelemetry instrumentation does not capture request bodies because of data privacy reasons. You can use this option to enable capturing of search queries from the the request bodies of Elasticsearch search requests in case you wish to capture this information, regardless. The options are to capture the raw search query, sanitize the query with a default list of sensitive keys, or not capture it at all.
5151

5252
**Default:** `omit`
53+
**Valid Options:** `omit`, `sanitize`, `raw`
5354

5455
|============
5556
| Environment Variable | `OTEL_INSTRUMENTATION_ELASTICSEARCH_CAPTURE_SEARCH_QUERY`

0 commit comments

Comments
 (0)