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 Aug 29, 2019
1 parent 9d80db5 commit f673118
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 f673118

Please sign in to comment.