@@ -111,7 +111,7 @@ The URL must be fully qualified, including protocol (`http` or `https`) and port
111
111
|============
112
112
113
113
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 .
115
115
The default `AsyncTransport` uses a background thread to send data.
116
116
If your environment doesn't allow background threads, you can use
117
117
`elasticapm.transport.http.Transport` instead.
@@ -152,16 +152,16 @@ You must use the query bar to filter for a specific environment in versions prio
152
152
| `ELASTIC_APM_SECRET_TOKEN` | `SECRET_TOKEN` | `None` | A random string
153
153
|============
154
154
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.
157
157
One example to generate a secure secret token is:
158
158
159
159
[source,bash]
160
160
----
161
161
python -c "import uuid; print(str(uuid.uuid4()))"
162
162
----
163
163
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.
165
165
166
166
[float]
167
167
[[config-service-version]]
@@ -214,7 +214,7 @@ otherwise, the default is `None`.
214
214
|============
215
215
216
216
A 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 .
218
218
219
219
220
220
[float]
@@ -228,7 +228,7 @@ Exceptions of these types will not be sent to the APM server.
228
228
|============
229
229
230
230
A 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 .
232
232
233
233
234
234
[float]
@@ -243,12 +243,12 @@ Transactions that match any of the of the configured patterns will be ignored an
243
243
244
244
A timeout for requests to the APM Server.
245
245
The 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,
247
247
the request is cancelled and the event (exception or transaction) is discarded.
248
248
Set to `None` to disable timeouts.
249
249
250
250
WARNING: 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.
252
252
253
253
254
254
[float]
@@ -261,7 +261,7 @@ your app could experience memory issues if the APM server times out.
261
261
| `ELASTIC_APM_HOSTNAME` | `HOSTNAME` | `socket.gethostname()` | `app-server01.example.com`
262
262
|============
263
263
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 .
265
265
266
266
[float]
267
267
[[config-auto-log-stacks]]
@@ -407,7 +407,7 @@ filter such data.
407
407
408
408
Limits the amount of spans that are recorded per transaction.
409
409
This 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.
411
411
412
412
[float]
413
413
[[config-span-frames-min-duration]]
@@ -440,8 +440,8 @@ this setting has to be provided in *<<config-format-duration, duration format>>*
440
440
| `ELASTIC_APM_API_REQUEST_SIZE` | `API_REQUEST_SIZE` | `"724kb"`
441
441
|============
442
442
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 ,
445
445
while a higher value can increase the memory pressure of your app.
446
446
A higher value also impacts the time until data is indexed and searchable in Elasticsearch.
447
447
@@ -460,8 +460,8 @@ By default, the APM Server limits request payload size to 1 MByte.
460
460
| `ELASTIC_APM_API_REQUEST_TIME` | `API_REQUEST_TIME` | `"10s"`
461
461
|============
462
462
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 ,
465
465
while a higher value can increase the memory pressure of your app.
466
466
A higher value also impacts the time until data is indexed and searchable in Elasticsearch.
467
467
@@ -552,7 +552,7 @@ The default value varies based on your Python version and implementation, e.g.:
552
552
|============
553
553
554
554
If 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`.
556
556
557
557
558
558
[float]
@@ -563,7 +563,7 @@ the agent won't send any data to the APM server. You can override it by changing
563
563
| `ELASTIC_APM_DISABLE_SEND` | `DISABLE_SEND` | `False`
564
564
|============
565
565
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.
567
567
568
568
569
569
[float]
@@ -586,7 +586,7 @@ This disables most of the tracing functionality, but can be useful to debug poss
586
586
| `ELASTIC_APM_VERIFY_SERVER_CERT` | `VERIFY_SERVER_CERT` | `True`
587
587
|============
588
588
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 .
590
590
Verification can be disabled by changing this setting to `False`.
591
591
This setting is ignored when <<config-server-cert,`server_cert`>> is set.
592
592
@@ -698,6 +698,32 @@ If you want to use the route instead of the view name as the transaction name, y
698
698
699
699
NOTE: in versions previous to Django 2.2, changing this setting will have no effect.
700
700
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
+
701
727
[float]
702
728
[[config-formats]]
703
729
=== Configuration formats
0 commit comments