JavaScript

Supported OS

Overview

With the Datadog JavaScript integration, resolve performance issues quickly in JavaScript components by:

  • Debugging the root cause of performance bottlenecks, such as a slow server response time, render-blocking resource, or error inside a component
  • Automatically correlating JavaScript performance data with user journeys, AJAX calls to the server side, and logs
  • Alerting your engineering teams when crucial performance metrics for JavaScript (such as Core Web Vitals) fall below a threshold that results in a poor user experience

Monitor your JavaScript applications from end-to-end by:

  • Tracking and visualizing user journeys across your entire stack
  • Debugging the root cause of slow load times, which may be an issue with your JavaScript code, network performance, or underlying infrastructure
  • Analyzing and contextualizing every user session with attributes such as user ID, email, name, and more
  • Unifying full-stack monitoring in one platform for frontend and backend development teams

Setup

Collect RUM events

To start collecting Real User Monitoring events from your application, see Browser Monitoring.

Collect traces

To start sending your JavaScript application’s traces to Datadog, see Connect RUM and Traces.

Collect logs

To start forwarding your JavaScript application’s logs to Datadog, see Browser Log Collection.

Data Collected

Metrics

The JavaScript integration does not include any metrics. To generate custom metrics from your RUM application, see Generate Metrics.

Events

For more information about events and attributes, see RUM Browser Data Collected.

Service Checks

The JavaScript integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

Additional helpful documentation, links, and articles:

PREVIEWING: esther/docs-9478-fix-split-after-example