Datastore configuration options
editDatastore configuration options
editelasticsearch_capture_body_urls
(
[1.37.0]
Added in 1.37.0.
)
editThe url path patterns for which the APM agent will capture the request body of outgoing requests to Elasticsearch made with the elasticsearch-restclient
instrumentation. The default setting captures the body for Elasticsearch REST APIs searches and counts.
The captured request body (if any) is stored on the span.db.statement
field. Captured request bodies are truncated to a maximum length defined by long_field_max_length
(performance
[1.37.0]
Added in 1.37.0.
).
This option supports the wildcard *
, which matches zero or more characters.
Examples: /foo/*/bar/*/baz*
, *foo*
.
Matching is case insensitive by default.
Prepending an element with (?-i)
makes the matching case sensitive.
Default | Type | Dynamic |
---|---|---|
|
List |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
mongodb_capture_statement_commands
editMongoDB command names for which the command document will be captured, limited to common read-only operations by default.
Set to ` ""` (empty) to disable capture, and "*"
to capture all (which is discouraged as it may lead to sensitive information capture).
This option supports the wildcard *
, which matches zero or more characters.
Examples: /foo/*/bar/*/baz*
, *foo*
.
Matching is case insensitive by default.
Prepending an element with (?-i)
makes the matching case sensitive.
Default | Type | Dynamic |
---|---|---|
|
List |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|