- APM Real User Monitoring JavaScript Agent: other versions:
- Introduction
- Set up the Agent
- Supported Technologies
- Configuration
- API Reference
- Source Maps
- Framework-specific integrations
- Distributed Tracing
- Breakdown Metrics
- OpenTracing
- Advanced Topics
- Troubleshooting
- Upgrading
- Release notes
A newer version is available. For the latest information, see the
current release documentation.
API Reference
editAPI 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 calling theinit method
the agent either via script element on the page or require theelastic-apm-rum
module in Node.js. TheAgent
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()
.
Was this helpful?
Thank you for your feedback.