@@ -195,13 +195,13 @@ Transactions that match any of the of the configured patterns will be ignored an
195195
196196
197197[float]
198- [[config-timeout]]
199- ==== `timeout `
198+ [[config-server- timeout]]
199+ ==== `server_timeout `
200200
201201[options="header"]
202202|============
203- | Environment | Django/Flask | Default
204- | `ELASTIC_APM_TIMEOUT ` | `TIMEOUT ` | `5`
203+ | Environment | Django/Flask | Default
204+ | `ELASTIC_APM_SERVER_TIMEOUT ` | `SERVER_TIMEOUT ` | `5`
205205|============
206206
207207A timeout in seconds.
@@ -255,7 +255,7 @@ logger.info('something happened', extra={'stack': False})
255255| `ELASTIC_APM_COLLECT_LOCAL_VARIABLES` | `COLLECT_LOCAL_VARIABLES` | `errors`
256256|============
257257
258- Possible values: `errors`, `transactions`, `all`, `none `
258+ Possible values: `errors`, `transactions`, `all`, `off `
259259
260260The Elastic APM Python agent can collect local variables for stack frames.
261261By default, this is only done for errors.
@@ -288,42 +288,26 @@ With this setting, you can limit the length of resulting string.
288288
289289With this setting, you can limit the length of lists in local variables.
290290
291- [float]
292- [[config-collect-source]]
293- ==== `collect_source`
294-
295- |============
296- | Environment | Django/Flask | Default
297- | `ELASTIC_APM_COLLECT_SOURCE` | `COLLECT_SOURCE` | `all`
298- |============
299-
300- Possible values: `errors`, `transactions`, `all`, `none`
301-
302- The Elastic APM Python agent can collect source code for stack frames.
303-
304- NOTE: collecting the source code for frames has a non-trivial overhead.
305- If you notice a performance impact when running Elastic APM, changing
306- this setting to `errors` can help.
307291
308292[float]
309- [[config-source_lines_app_frames_errors ]]
310- ==== `source_lines_app_frames_errors `
293+ [[config-source-lines-error-app-frames ]]
294+ ==== `source_lines_error_app_frames `
311295[float]
312- [[config-source_lines_app_frames_transactions ]]
313- ==== `source_lines_app_frames_transactions `
296+ [[config-source-lines-span-app-frames ]]
297+ ==== `source_lines_span_app_frames `
314298[float]
315- [[config-source_lines_library_frames_errors ]]
316- ==== `source_lines_library_frames_errors `
299+ [[config-source-lines-error-library-frames ]]
300+ ==== `source_lines_error_library_frames `
317301[float]
318- [[config-source_lines_library_frames_transactions ]]
319- ==== `source_lines_library_frames_transactions `
302+ [[config-source-lines-span-library-frames ]]
303+ ==== `source_lines_span_library_frames `
320304
321305|============
322- | Environment | Django/Flask | Default
323- | `ELASTIC_APM_SOURCE_LINES_APP_FRAMES_ERRORS ` | `SOURCE_LINES_APP_FRAMES_ERRORS` | `5`
324- | `ELASTIC_APM_SOURCE_LINES_APP_FRAMES_TRANSACTIONS ` | `SOURCE_LINES_APP_FRAMES_TRANSACTIONS` | `5`
325- | `ELASTIC_APM_SOURCE_LINES_LIBRARY_FRAMES_ERRORS` | `SOURCE_LINES_LIBRARY_FRAMES_ERRORS` | `5`
326- | `ELASTIC_APM_SOURCE_LINES_LIBRARY_FRAMES_TRANSACTIONS` | `SOURCE_LINES_LIBRARY_FRAMES_TRANSACTIONS` | `0`
306+ | Environment | Django/Flask | Default
307+ | `ELASTIC_APM_SOURCE_LINES_ERROR_APP_FRAMES ` | `SOURCE_LINES_ERROR_APP_FRAMES` | `5`
308+ | `ELASTIC_APM_SOURCE_LINES_SPAN_APP_FRAMES ` | `SOURCE_LINES_SPAN_APP_FRAMES` | `5`
309+ | `ELASTIC_APM_SOURCE_LINES_ERROR_LIBRARY_FRAMES` | `SOURCE_LINES_ERROR_LIBRARY_FRAMES` | `5`
310+ | `ELASTIC_APM_SOURCE_LINES_SPAN_LIBRARY_FRAMES` | `SOURCE_LINES_SPAN_LIBRARY_FRAMES` | `0`
327311|============
328312
329313By default, the APM agent collects source code snippets for
@@ -332,20 +316,21 @@ By default, the APM agent collects source code snippets for
332316 * transaction spans, only for in-app frames.
333317
334318With the above settings, you can modify how many lines of source code is collected.
335- Note however that especially for transactions, collecting source code can have a large impact on storage use in your Elasticsearch cluster.
319+
320+ WARNING: Especially for transactions, collecting source code can have a large impact on storage use in your Elasticsearch cluster.
336321
337322[float]
338- [[config-transaction-send-frequency ]]
339- ==== `transaction_send_frequency `
323+ [[config-flush-interval ]]
324+ ==== `flush_interval `
340325
341326|============
342- | Environment | Django/Flask | Default
343- | `ELASTIC_APM_TRANSACTION_SEND_FREQ ` | `TRANSACTION_SEND_FREQ ` | `60`
327+ | Environment | Django/Flask | Default
328+ | `ELASTIC_APM_FLUSH_INTERVAL ` | `FLUSH_INTERVAL ` | `60`
344329|============
345330
346331Interval with which transactions should be sent to the APM server, in seconds.
347332A lower value will increase the load on your APM server,
348- while a higher value can increase the memory pressure of your app.
333+ while a higher value can increase the memory pressure on your app.
349334A higher value also impacts the time until transactions are indexed and searchable in Elasticsearch.
350335
351336
@@ -364,12 +349,12 @@ Setting an upper limit will prevent overloading the agent and the APM server wit
364349
365350
366351[float]
367- [[config-max-event- queue-length ]]
368- ==== `max_event_queue_length `
352+ [[config-max-queue-size ]]
353+ ==== `max_queue_size `
369354
370355|============
371- | Environment | Django/Flask | Default
372- | `ELASTIC_APM_MAX_EVENT_QUEUE_LENGTH` | `MAX_EVENT_QUEUE_LENGTH ` | `500`
356+ | Environment | Django/Flask | Default
357+ | `ELASTIC_APM_MAX_EVENT_QUEUE_LENGTH` | `MAX_QUEUE_SIZE ` | `500`
373358|============
374359
375360Maximum queue length of transactions before sending transactions to the APM server.
@@ -462,22 +447,22 @@ If set to `True`, the agent won't send any events to the APM server, independent
462447
463448
464449[float]
465- [[config-disable-instrumentation ]]
466- ==== `disable_instrumentation `
450+ [[config-instrument ]]
451+ ==== `instrument `
467452|============
468- | Environment | Django/Flask | Default
469- | `ELASTIC_APM_DISABLE_INSTRUMENTATION ` | `DISABLE_INSTRUMENTATION ` | `False `
453+ | Environment | Django/Flask | Default
454+ | `ELASTIC_APM_INSTRUMENT ` | `INSTRUMENT ` | `True `
470455|============
471456
472- If set to `True `, the agent won't instrument any code.
457+ If set to `False `, the agent won't instrument any code.
473458This disables most of the tracing functionality, but can be useful to debug possible instrumentation issues.
474459
475460
476461[float]
477462[[config-verify-server-cert]]
478463==== `verify_server_cert`
479464|============
480- | Environment | Django/Flask | Default
465+ | Environment | Django/Flask | Default
481466| `ELASTIC_APM_VERIFY_SERVER_CERT` | `VERIFY_SERVER_CERT` | `True`
482467|============
483468
0 commit comments