API Reference
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. The Elastic APM Node.js agent enables you to trace the execution of operations in your Node.js applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
APM Agent Node.js
Generally available
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()