IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
API Reference
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
API Reference
editThe API reference documentation is divided into three parts:
-
The
Agent
API - All functions and properties on theAgent
object. An instance of theAgent
object is acquired by requiring/importing the Node.js APM Agent module. TheAgent
is a singleton and the instance is usually referred to by the variableapm
in this documentation -
The
Transaction
API - All functions and properties on theTransaction
object. An instance of theTransaction
object is acquired by callingapm.startTransaction()
-
The
Span
API - All functions and properties on theSpan
object. An instance of theSpan
object is acquired by callingapm.startSpan()