@@ -111,7 +111,7 @@ The URL must be fully qualified, including protocol (`http` or `https`) and port
111111|============
112112
113113
114- The transport class to use when sending events to the APM server .
114+ The transport class to use when sending events to the APM Server .
115115The default `AsyncTransport` uses a background thread to send data.
116116If your environment doesn't allow background threads, you can use
117117`elasticapm.transport.http.Transport` instead.
@@ -152,16 +152,16 @@ You must use the query bar to filter for a specific environment in versions prio
152152| `ELASTIC_APM_SECRET_TOKEN` | `SECRET_TOKEN` | `None` | A random string
153153|============
154154
155- This string is used to ensure that only your agents can send data to your APM server .
156- Both the agents and the APM server have to be configured with the same secret token.
155+ This string is used to ensure that only your agents can send data to your APM Server .
156+ Both the agents and the APM Server have to be configured with the same secret token.
157157One example to generate a secure secret token is:
158158
159159[source,bash]
160160----
161161python -c "import uuid; print(str(uuid.uuid4()))"
162162----
163163
164- WARNING: secret tokens only provide any security if your APM server use TLS.
164+ WARNING: secret tokens only provide any security if your APM Server use TLS.
165165
166166[float]
167167[[config-service-version]]
@@ -214,7 +214,7 @@ otherwise, the default is `None`.
214214|============
215215
216216A list of exception types to be filtered.
217- Exceptions of these types will not be sent to the APM server .
217+ Exceptions of these types will not be sent to the APM Server .
218218
219219
220220[float]
@@ -228,7 +228,7 @@ Exceptions of these types will not be sent to the APM server.
228228|============
229229
230230A list of regular expressions.
231- Transactions that match any of the of the configured patterns will be ignored and not sent to the APM server .
231+ Transactions that match any of the of the configured patterns will be ignored and not sent to the APM Server .
232232
233233
234234[float]
@@ -243,12 +243,12 @@ Transactions that match any of the of the configured patterns will be ignored an
243243
244244A timeout for requests to the APM Server.
245245The setting has to be provided in *<<config-format-duration, duration format>>*.
246- If a request to the APM server takes longer than the configured timeout,
246+ If a request to the APM Server takes longer than the configured timeout,
247247the request is cancelled and the event (exception or transaction) is discarded.
248248Set to `None` to disable timeouts.
249249
250250WARNING: If timeouts are disabled or set to a high value,
251- your app could experience memory issues if the APM server times out.
251+ your app could experience memory issues if the APM Server times out.
252252
253253
254254[float]
@@ -261,7 +261,7 @@ your app could experience memory issues if the APM server times out.
261261| `ELASTIC_APM_HOSTNAME` | `HOSTNAME` | `socket.gethostname()` | `app-server01.example.com`
262262|============
263263
264- The host name to use when sending error and transaction data to the APM server .
264+ The host name to use when sending error and transaction data to the APM Server .
265265
266266[float]
267267[[config-auto-log-stacks]]
@@ -407,7 +407,7 @@ filter such data.
407407
408408Limits the amount of spans that are recorded per transaction.
409409This is helpful in cases where a transaction creates a very high amount of spans (e.g. thousands of SQL queries).
410- Setting an upper limit will prevent overloading the agent and the APM server with too much work for such edge cases.
410+ Setting an upper limit will prevent overloading the agent and the APM Server with too much work for such edge cases.
411411
412412[float]
413413[[config-span-frames-min-duration]]
@@ -440,8 +440,8 @@ this setting has to be provided in *<<config-format-duration, duration format>>*
440440| `ELASTIC_APM_API_REQUEST_SIZE` | `API_REQUEST_SIZE` | `"724kb"`
441441|============
442442
443- Maximum queue length of the request buffer before sending the request to the APM server .
444- A lower value will increase the load on your APM server ,
443+ Maximum queue length of the request buffer before sending the request to the APM Server .
444+ A lower value will increase the load on your APM Server ,
445445while a higher value can increase the memory pressure of your app.
446446A higher value also impacts the time until data is indexed and searchable in Elasticsearch.
447447
@@ -460,8 +460,8 @@ By default, the APM Server limits request payload size to 1 MByte.
460460| `ELASTIC_APM_API_REQUEST_TIME` | `API_REQUEST_TIME` | `"10s"`
461461|============
462462
463- Maximum queue time of the request buffer before sending the request to the APM server .
464- A lower value will increase the load on your APM server ,
463+ Maximum queue time of the request buffer before sending the request to the APM Server .
464+ A lower value will increase the load on your APM Server ,
465465while a higher value can increase the memory pressure of your app.
466466A higher value also impacts the time until data is indexed and searchable in Elasticsearch.
467467
@@ -552,7 +552,7 @@ The default value varies based on your Python version and implementation, e.g.:
552552|============
553553
554554If your app is in debug mode (e.g. in Django with `settings.DEBUG = True` or in Flask with `app.debug = True`),
555- the agent won't send any data to the APM server . You can override it by changing this setting to `True`.
555+ the agent won't send any data to the APM Server . You can override it by changing this setting to `True`.
556556
557557
558558[float]
@@ -563,7 +563,7 @@ the agent won't send any data to the APM server. You can override it by changing
563563| `ELASTIC_APM_DISABLE_SEND` | `DISABLE_SEND` | `False`
564564|============
565565
566- If set to `True`, the agent won't send any events to the APM server , independent of any debug state.
566+ If set to `True`, the agent won't send any events to the APM Server , independent of any debug state.
567567
568568
569569[float]
@@ -586,7 +586,7 @@ This disables most of the tracing functionality, but can be useful to debug poss
586586| `ELASTIC_APM_VERIFY_SERVER_CERT` | `VERIFY_SERVER_CERT` | `True`
587587|============
588588
589- By default, the agent verifies the SSL certificate if you use an HTTPS connection to the APM server .
589+ By default, the agent verifies the SSL certificate if you use an HTTPS connection to the APM Server .
590590Verification can be disabled by changing this setting to `False`.
591591This setting is ignored when <<config-server-cert,`server_cert`>> is set.
592592
@@ -698,6 +698,32 @@ If you want to use the route instead of the view name as the transaction name, y
698698
699699NOTE: in versions previous to Django 2.2, changing this setting will have no effect.
700700
701+ [float]
702+ [[config-generic-environment]]
703+ === Generic Environment variables
704+
705+ Some environment variables that are not specific to the APM agent can be used to configure the agent.
706+
707+ [float]
708+ [[config-generic-http-proxy]]
709+ ==== `HTTP_PROXY` and `HTTPS_PROXY`
710+
711+ Using `HTTP_PROXY` and `HTTPS_PROXY`, the agent can be instructed to use a proxy to connect to the APM Server.
712+ If both are set, `HTTPS_PROXY` takes precedence.
713+
714+ NOTE: The environment variables are case-insensitive.
715+
716+ [float]
717+ [[config-generic-no-proxy]]
718+ ==== `NO_PROXY`
719+
720+ To instruct the agent to *not* use a proxy, you can use the `NO_PROXY` environment variable.
721+ You can either set it to a comma-separated list of hosts for which no proxy should be used (e.g. `localhost,example.com`)
722+ or use `*` to match any host.
723+
724+ This is useful if `HTTP_PROXY` / `HTTPS_PROXY` is set for other reasons than agent / APM Server communication.
725+
726+
701727[float]
702728[[config-formats]]
703729=== Configuration formats
0 commit comments