Session Analysis
In RUM, a session refers to a series of user interactions with a website or application, displaying user operations, related events, resource requests, and exceptions in chronological order. This approach allows tracking user behavior patterns, providing deep insights into how users interact with the website or application during a single visit, thus comprehensively understanding system performance.
Its value includes but is not limited to:
- Problem Diagnosis and Location: When crashes or other anomalies occur, specific sessions can be queried through user identifiers to trace user behavior patterns, diagnose problems through context and error analysis, and quickly locate root causes.
- Real-time Monitoring and Quick Response: Provides real-time user experience data, enabling businesses to take immediate action on performance issues, reducing their impact on users.
- User Experience Optimization: By analyzing session data such as page load times, resource loading performance, and API requests, performance bottlenecks can be identified to optimize application performance and enhance user experience.
- User Behavior Analysis: Understanding user workflows and website interactions to improve user design and functionality, better meeting user needs.
- End-to-end Chain Analysis: In complex interaction processes, the session perspective allows viewing the entire data chain from client to server, precisely determining problem locations.
The Session Analysis module displays all collected session data, helping understand how each user session, page performance, resources, long tasks, and errors affect real users of the application. Click the tabs above to switch between different levels of session type data, with Sessions-level data displayed by default.
Sessions
Sessions List
The quick filter box on the left allows filtering target session data through multiple options. Default filters on the Session Analysis page include environment, version, system, browser, country, province, and city.
The data list on the right shows the occurrence time, duration, number of pages involved, session operations count, and session error count for each Session within the selected time period.
Session Details
Click on a session in the Sessions list to open a drawer page showing Session details; click the play icon to quickly view the corresponding session replay.
The top section shows current Session information, such as start time, duration, operating system, etc.
Different tabs below show different detailed information:
- Performance: Shows all types of session information contained in the current Session, such as pages, errors, operations, long tasks, resources, and their relative start times, types, services, and event details. Additionally, clicking the icon on the left of view and error type rows opens their respective detail pages.
- Session Replay: View the entire session process of the current Session user, including visited pages, operation records, and occurred errors. See Session Replay for details.
- Properties: View the associated field information collected for the current Session.
Views (Pages)
Views List
The quick filter box on the left allows filtering target page performance data through multiple options. Default filters on the Views list page include environment, version, system, browser, page URL, load type, country, province, and city.
The data list on the right shows the occurrence time, page URL, load type, load time, stay duration, and browser for each user's View visit within the selected time period.
View Details
Click on a View in the Views list to open a drawer page showing View details.
The top section shows current View information, such as page URL, stay duration, load type, etc.; it also shows the source Session of this View visit, including Session start time and duration. The more button allows viewing corresponding Session details or copying the Session ID.
Different tabs below show different detailed information:
-
Performance: Shows errors, operations, long tasks, and resource information contained in the current View, along with their durations. Hovering over a data item shows the exact start time.
-
Trace: Shows trace information generated by the current View, including trace start time, resource, duration, HTTP status code, and request URL, sorted by time in descending order by default. Clicking a trace opens a new page locating to the selected trace details.
Why RUM trace data is limitedIf only RUM data is integrated, the trace information will be relatively limited.
To show more detailed trace information, you need to integrate both APM data and configure the correlation between APM and RUM data.
See article: APM and RUM Data Correlation
-
Properties: View the associated field information collected for the current View.
Errors
Errors List
The quick filter box on the left allows filtering target error data through multiple options. Default filters on the Errors list page include environment, version, system, browser, page URL, error type, country, province, and city.
The data list on the right shows the occurrence time, page URL, error type, and error message for each Error during user visits within the selected time period.
Error Details
Click on an Error in the Errors list to open a drawer page showing Error details.
The top section shows current Error information, such as error message and error type; it also shows the source Session and View of this Error and their basic information.
- Session source shows the Session's start time and duration; the more button allows viewing corresponding Session details or copying the Session ID.
- View source shows the corresponding page URL; the more button allows viewing corresponding View details.
Different tabs below show different detailed information:
- Error Details: Shows the error stack information collected for the current Error.
- Properties: View the associated field information for the current Error.