Skip to content

Commit

Permalink
docs(config): add instrumentIncomingHTTPRequests
Browse files Browse the repository at this point in the history
  • Loading branch information
Qard committed Sep 18, 2019
1 parent 771778d commit 0d2e406
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,18 @@ A boolean specifying if the agent should collect performance metrics for the app

Note that both `active` and `instrument` needs to be `true` for instrumentation to be running.

[[instrument-incoming-http-requests]]
==== `instrumentIncomingHTTPRequests?:`

* *Type:* Boolean
* *Default:* `true`
* *Env:* `ELASTIC_APM_INSTRUMENT_INCOMING_HTTP_REQUESTS`

A boolean specifying if the agent should instrument incoming HTTP requests.

To configure if outgoing http requests should be instrumented,
see <<disable-instrumentations, `disableInstrumentations`>>.

[[central-config]]
==== `centralConfig`

Expand Down Expand Up @@ -660,6 +672,9 @@ see the https://github.com/elastic/apm-agent-nodejs/tree/master/lib/instrumentat
Note that not all modules represented in this directory will generate spans,
and adding those to this array has no effect.

To configure if incoming http requests should be instrumented,
see <<instrument-incoming-http-requests, `instrumentIncomingHTTPRequests`>>.

[[container-id]]
==== `containerId`

Expand Down

0 comments on commit 0d2e406

Please sign in to comment.