What happens if Elasticsearch to down while the elastic apm agent is sending data?

What happens if Elasticsearch to down while the elastic apm agent is sending data? Is information lost?

Kibana version:
8.7.1
Elasticsearch version:
8.7.1
APM Server version:
v1.15.0
APM Agent language and version:
PHP
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
APM agents on edge machines send data to a centrally hosted APM integration on Elastic Agent

Hey @Jackson_Castilho ,

Depending on the size of APM Server, it will buffer data in-memory. If the connection with Elasticsearch doesn't recover then the server stop accepting requests and the APM agents will start receiving errors from the server. At this point, data loss can happen.

1 Like