How Browser RUM Works

Browser RUM works in the following way:

  1. An end user requests the first page from your web application.
  2. Your web application executes whatever business logic that particular page requires.
  3. Your web application creates the response page to return to the end user. The response page includes:
    1. application-specific information.
    2. a copy of a small JavaScript script that knows how to collect relevant performance information about that page. This script is called the JavaScript Agent.
  4. The page, with the JavaScript Agent included, is returned to the end user.
  5. As the page is being constructed in the browser, the script collects relevant information about the page's performance.
  6. At approximately the same time as the onload event for the page fires, a copy of a somewhat larger JavaScript file, the JavaScript Agent extension, is downloaded asynchronously by the injected agent.
  7. This second script packages the collected performance information and sends it via a web beacon to the EUM Server collector for processing.
  8. The two scripts work together to collect and send performance information as the end user navigates through the instrumented pages of your application.