A newer version is available. For the latest information, see the current release documentation.
The API reference documentation is divided into three parts:
AgentAPI - All functions and properties on the
Agentobject. An instance of the
Agentobject is acquired by calling the
init methodthe agent either via script element on the page or require the
elastic-apm-rummodule in Node.js. The
Agentinstance is usually referred to by the variable
apmin this documentation.
TransactionAPI - All functions and properties on the
Transactionobject. An instance of the
Transactionobject is acquired by calling
SpanAPI - All functions and properties on the
Spanobject. An instance of the
Spanobject is acquired by calling