Datadog Real User Monitoring (RUM) enables you to visualize and analyze the performance of your front end applications as seen by your users. It follows the latency from the frontend to the backend using advanced visualizations. The
datadog-rum library supports all modern desktop and mobile browsers. Resources collection is limited on IE10 and IE11.
This section includes the following topics:
By default, all data collected is kept at full granularity for 15 days. The Datadog Real User Monitoring script sends 5 main types of events to Datadog:
|View||Each time a user goes on a page of the setup application, a view event is created. While the user remains on that view, all data collected is attached to that view with the |
|Resource||A resource event can be generated for images, XHR/Fetch, CSS, or JS libraries. It contains information about the resource, like its name and its associated loading duration.|
|Long task||Any task in a browser that blocks the main thread for more than 50ms is considered a long task and gets a specific event generation. This causes input latency, event handling latency, etc. Only available in Chrome and Opera. See the Long Task MDN documentation for more information.|
|Error||Every time a frontend error is emitted by the browser, RUM catches it and sends it as an Error Event to Datadog.|
|User Action||A User Action event is a custom event that can be generated for a given user action.|
The following contexts—following the Datadog Standard Attributes logic—are attached automatically to all events sent to Datadog:
sessionIdThe ID corresponding to the session of your user.