Skip to content

Commit feae7bd

Browse files
committed
docs(config): add instrumentIncomingHTTPRequests
1 parent 90e320e commit feae7bd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/configuration.asciidoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ A boolean specifying if the agent should collect performance metrics for the app
123123

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

126+
[[instrument-incoming-http-requests]]
127+
==== `instrumentIncomingHTTPRequests?:`
128+
129+
* *Type:* Boolean
130+
* *Default:* `true`
131+
* *Env:* `ELASTIC_APM_INSTRUMENT_INCOMING_HTTP_REQUESTS`
132+
133+
A boolean specifying if the agent should instrument incoming HTTP requests.
134+
135+
To configure if outgoing http requests should be instrumented,
136+
see <<disable-instrumentations, `disableInstrumentations`>>.
137+
126138
[[central-config]]
127139
==== `centralConfig`
128140

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

675+
To configure if incoming http requests should be instrumented,
676+
see <<instrument-incoming-http-requests, `instrumentIncomingHTTPRequests`>>.
677+
663678
[[container-id]]
664679
==== `containerId`
665680

0 commit comments

Comments
 (0)