Introduction
editIntroduction
editThe Elastic APM Real User Monitoring (RUM) JavaScript Agent provides detailed performance metrics and error tracking of your web applications. It has built-in support for popular platforms and frameworks, and an API for custom instrumentation.
The Agent also supports distributed tracing for all outgoing requests. This enables you to analyze performance throughout your microservice architecture — all in one view.
The Elastic APM RUM JavaScript Agent is not compatible with Elastic Cloud Serverless — it cannot send data to the APM endpoint for serverless projects.
Features
editThe agent uses browser timing APIs such as Navigation Timing Resource Timing, Paint Timing, User Timing, etc., and captures the following information:
- Page load metrics
- Load time of Static Assets (JS, CSS, images, fonts, etc.)
- API requests (XMLHttpRequest and Fetch)
- Single page application navigations
- User interactions (click events that trigger network activity)
- User-centric metrics (Long tasks, FCP, LCP, INP, FID, etc.)
- Page information (URLs visited and referrer)
- Network connection information
- JavaScript errors
- Distributed tracing
- Breakdown metrics
Additional Components
editAPM Agents work in conjunction with the APM Server, Elasticsearch, and Kibana. The APM Guide provides details on how these components work together, and provides a matrix outlining Agent and Server compatibility.