Reporter configuration optionsedit

secret_tokenedit

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 Environment

elastic.apm.secret_token

ELASTIC_APM_SECRET_TOKEN

server_urledit

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

Default Type Dynamic

http://localhost:8200

URL

true

Java System Properties Environment

elastic.apm.server_url

ELASTIC_APM_SERVER_URL

server_timeoutedit

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.

Warning

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 Environment

elastic.apm.server_timeout

ELASTIC_APM_SERVER_TIMEOUT

verify_server_certedit

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 Environment

elastic.apm.verify_server_cert

ELASTIC_APM_VERIFY_SERVER_CERT

flush_intervaledit

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 Environment

elastic.apm.flush_interval

ELASTIC_APM_FLUSH_INTERVAL

max_queue_sizeedit

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 Environment

elastic.apm.max_queue_size

ELASTIC_APM_MAX_QUEUE_SIZE

include_process_argsedit

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 Environment

elastic.apm.include_process_args

ELASTIC_APM_INCLUDE_PROCESS_ARGS