API Reference
Serverless Observability Stack APM Agent Node.js
The API reference documentation is divided into three parts:
- The
AgentAPI - All functions and properties on theAgentobject. An instance of theAgentobject is acquired by requiring/importing the Node.js APM Agent module. TheAgentis a singleton and the instance is usually referred to by the variableapmin this documentation - The
TransactionAPI - All functions and properties on theTransactionobject. An instance of theTransactionobject is acquired by callingapm.startTransaction() - The
SpanAPI - All functions and properties on theSpanobject. An instance of theSpanobject is acquired by callingapm.startSpan()