Transactions in Browser

In cases where the Plumbr Browser Agent is present in the end user’s browser, transaction tracking starts in the browser. The Plumbr Browser Agent keeps track of the interactions performed by the end user. The tracked interactions include mouse and keyboard events and taps on touch screens. Support for other interaction methods such as gestures and scrolling will be added in forthcoming releases.

Only some of the interactions start a transaction. A transaction is started whenever the user interaction results in at least one HTTP request being sent to the Server backend. So for example, a click on an HTML anchor scrolling the page to the location of the anchor will not start a transaction, as no Server-side requests are made.

All HTTP requests (called spans in Plumbr lingo) triggered by the interaction are monitored and linked with the transaction. All spans register the start and end timestamp of the request, the URL to which the request was sent and the HTTP response code of the request.

A transaction ends when the last span in the browser is completed. Based on the duration of the transaction and the response codes of the individual spans, the transaction is flagged either as successful, too slow, or having failed to deliver the expected outcome.

User interaction monitored by APM

Transactions also keep track of the user performing the interaction, the application in which the interaction was performed, and the functionality that the interaction consumed. This allows you to keep track of the number of users who used the application and what the users actually did in the application.

Every transaction starting in a browser thus exposes the following information:

  • the ID of the transaction
  • the ID of the user performing the interaction
  • the start and end timestamps of the interaction
  • the application to which the interaction belonged
  • the functionality of the application used
  • the outcome of the interaction (successful/slow/failed)