Reporter configuration options

edit

secret_token

edit

This string is used to ensure that only your agents can send data to your APM server.

Both the agents and the APM server have to be configured with the same secret token.Use if APM Server requires a token.

Default Type Dynamic

<none>

String

false

Java System Properties Property file Environment

elastic.apm.secret_token

secret_token

ELASTIC_APM_SECRET_TOKEN

server_url

edit

The URL must be fully qualified, including protocol (http or https) and port.

Default Type Dynamic

http://localhost:8200

URL

true

Java System Properties Property file Environment

elastic.apm.server_url

server_url

ELASTIC_APM_SERVER_URL

server_timeout

edit

If a request to the APM server takes longer than the configured timeout, the request is cancelled and the event (exception or transaction) is discarded. Set to None to disable timeouts.

If timeouts are disabled or set to a high value, your app could experience memory issues if the APM server times out.

Default Type Dynamic

5

Integer

false

Java System Properties Property file Environment

elastic.apm.server_timeout

server_timeout

ELASTIC_APM_SERVER_TIMEOUT

verify_server_cert

edit

By default, the agent verifies the SSL certificate if you use an HTTPS connection to the APM server.

Verification can be disabled by changing this setting to false.

Default Type Dynamic

true

Boolean

false

Java System Properties Property file Environment

elastic.apm.verify_server_cert

verify_server_cert

ELASTIC_APM_VERIFY_SERVER_CERT

flush_interval

edit

Interval with which transactions should be sent to the APM server, in seconds.

A lower value will increase the load on your APM server, while a higher value can increase the memory pressure on your app.

A higher value also impacts the time until transactions are indexed and searchable in Elasticsearch.

Default Type Dynamic

1

Integer

false

Java System Properties Property file Environment

elastic.apm.flush_interval

flush_interval

ELASTIC_APM_FLUSH_INTERVAL

max_queue_size

edit

Maximum queue length of transactions before sending transactions to the APM server.

A lower value will increase the load on your APM server,while a higher value can increase the memory pressure of your app.

A higher value also impacts the time until transactions are indexed and searchable in Elasticsearch.

This setting is useful to limit memory consumption if you experience a sudden spike of traffic.

Default Type Dynamic

500

Integer

true

Java System Properties Property file Environment

elastic.apm.max_queue_size

max_queue_size

ELASTIC_APM_MAX_QUEUE_SIZE

include_process_args

edit

Whether each transaction should have the process arguments attached. Disabled by default to save disk space.

Default Type Dynamic

false

Boolean

false

Java System Properties Property file Environment

elastic.apm.include_process_args

include_process_args

ELASTIC_APM_INCLUDE_PROCESS_ARGS