To troubleshoot issues that require context to reproduce the error, you can use the session tracing feature of ARMS Browser Monitoring. Using a username or user ID, this feature uses distributed tracing to reconstruct a user's complete behavior trail, including page loads, API calls, JS errors, and user actions. This helps you efficiently identify and analyze the root cause of the error.
Access
Log on to the ARMS console.
-
In the navigation pane on the left, choose Frontend Monitoring > Browser Monitoring, and then click the name of the target application.
-
In the navigation pane on the left, choose .
Session details
-
Optional: On the Session Tracing page, enter a Username or User ID and then click Search.
Note-
For information about how to set a username, see the SDK reference.
-
Click Show to add search filters, such as session ID, IP address, page URL, browser, browser version, connection type, and region.
-
-
In the session list, click the Session ID of the target session to view the Session Tracking Details page.
-
In the Summary section, view basic information about the session, such as Username, User ID, Session ID, PV, JS Errors, API Calls, API Failures, Slow Loads, Device, Region, Browser, IP Address, and Connection Type.
-
In the Session Trace section, view the user's access path.
-
Click the + icon to the left of a page to expand the user behavior trace for that page.
The Session Path section displays a table with the access time, number of JS errors, number of API failures, slow load status, and an access timeline for each page. After you expand a page record, you can view details for specific events, including slow load events (with DOM and load times) and API call events (with request URL, status code, and count). For each event, you can click Details on the right to view more information.
-
Click Details next to a user behavior event to view its specifics, such as API details, slow load details, and JS error details.
-
Other entry points
-
In the navigation pane on the left, choose . In the Slow Page Session Trace (Top 20) section, click a Session ID.
-
In the navigation pane on the left, choose . On the Frequent Errors tab, click Diagnose in the Actions column for the target error. In the User Behavior Backtracking section, click View Session on the right.
-
In the navigation pane on the left, choose . In the API Requests section, click a value in the Errors column. In the Network request information section, click View Session on the right.
-
In the navigation pane on the left, choose . In the Log List section, click View Session in the Actions column.