Session Tracing
APM supports session tracing. This function enables full-link tracing based on the user name or ID. The behavior of a user can be reproduced to locate faults. Session tracing includes access, performance, API, JS error, behavior, and custom tracing.
Viewing Session Tracing
- Log in to the management console.
- Click
on the left and choose Management & Governance > Application Performance Management.
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. By default, the access tracing details of the site are displayed.
- In the upper right corner of the Session Tracing page, select a time range. Default: Last 20 minutes.
Options: Last 20 minutes, Last hour, Last 3 hours, Last 6 hours, Last day, Today, Yesterday, Last week, Last month, or Custom.
- Click the search box and select criteria from the drop-down list to search. Click
to view the session tracing information that meets the search criteria at the site.
- Click
in the upper right corner of the list to export information. A maximum of 200 records can be exported.
- In the upper right corner of the Session Tracing page, select a time range. Default: Last 20 minutes.
Access Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. By default, the access tracing details of the site are displayed.
- Click
in the upper right corner of the access tracing list and select the target metric data.
- By default, the access tracing list is sorted by Start Time in descending order.
Table 1 Access tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
Start Time
Time when the session starts.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Views (PV)
Page view (PV), which is the number of times a page is opened or refreshed.
- Click
- Click a session ID in the Session ID column to view the user track details.
- Metrics include Page Loads, API Requests, JS Errors, Visits, Clicks, and Custom Statistics.
- User track details include All, Page Loads, API Requests, JS Errors, Clicks, Visits, and Custom Statistics.
Click All to display all user track details of the session ID. A maximum of 200 tracks can be displayed.
Click other tabs such as Page Loads to display the user track details of the session ID on the corresponding tab. For example, if you click the Page Loads tab, the user track details of all page loads under the session ID are displayed.
You can collapse and expand user track details.Table 2 Parameters of user track details Type
Parameter
Description
Page Loads
Page URL
URL of the accessed page.
Request Source
Source of the request.
Load Time
Page load time.
First Contentful Paint (FCP)
Duration from the time when you open a website to the time when the content on the home page of the browser has been rendered.
First Paint (FP)
Duration from the time when you click a link or enter a URL to the time when the browser starts to display content.
Time to Interactive (TTI)
Duration from the time when a page starts to be loaded to the time when main resources are rendered and a response is made.
API Requests
Page URL
URL of the accessed page.
Device ID
ID of the device.
API Address
API address.
Request Method
The request method can be GET, POST, PUT, DELETE, or OPTION.
Status Code
Status code.
JS Errors
Error Occurred
Address where the JS error occurred.
Device ID
ID of the device.
Error Cause
Cause of the JS error.
Clicks
Page URL
URL of the accessed page.
Device ID
ID of the device.
X-axis Position
X-axis position of the browser coordinate.
Y-axis Position
Y-axis position of the browser coordinate.
Operation
Options: chick and dbclick.
Visits
Access Address
URL of the accessed page.
Client IP Address
Client IP address.
Client System
Client OS type.
Browser
Browser type, for example, Chrome, Internet Explorer, or Firefox.
Custom Statistics
Page URL
URL of the page to be reported.
Event Name
Name of an event.
Event Value
Event value. For details, see Custom Statistics.
Performance Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. Click Performance to switch to the performance tracing details of the site.
Click
in the upper right corner of the performance tracing list and select the target metric data.
By default, the performance tracing list is sorted by Load Times in descending order.
Table 3 Performance tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Load Times
Total number of times pages were loaded.
Avg. Load Time
Average page load time.
Avg. First Contentful Paint (FCP)
Average first contentful paint time.
Avg. First Paint (FP)
Average first paint time.
Avg. Time to Interactive
Average interaction time.
- Click a session ID in the Session ID column to view the user track details. For details, see User track details.
API Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. Click APIs to switch to the API tracing details of the site.
Click
in the upper right corner of the API tracing list and select the target metric data.
By default, the API tracing list is sorted by Load Times in descending order.
Table 4 API tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Load Times
Total number of times pages were loaded.
Avg. Load Time
Average page load time.
Slow Requests
Number of slow API requests.
Slow Request Rate
Slow API request rate.
Failed Requests
Number of failed requests.
Failed Request Rate
Failed API request rate.
- Click a session ID in the Session ID column to view the user track details. For details, see User track details.
JS Error Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. Click JS Error Tracing to switch to the JS error tracing details of the site.
Click
in the upper right corner of the JS error tracing list and select the target metric data.
By default, the JS error tracing list is sorted by Load Times in descending order.
Table 5 JS error tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
End Time
Time when the last error was reported.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Load Times
Total number of times pages were loaded.
Views (PV)
Page view (PV), which is the number of times a page is opened or refreshed.
UV
Number of visitors who access the website. If a user accesses the site multiple times in a day, only one UV will be counted.
- Click a session ID in the Session ID column to view the user track details. For details, see User track details.
Behavior Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. Click Behavior to switch to the behavior tracing details of the site.
Click
in the upper right corner of the behavior tracing list and select the target metric data.
By default, the behavior tracing list is sorted by Start Time in descending order.
Table 6 Behavior tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
Start Time
Time when the first operation is performed.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Load Times
Total number of times pages were loaded.
Views (PV)
Page view (PV), which is the number of times a page is opened or refreshed.
- Click a session ID in the Session ID column to view the user track details. For details, see User track details.
Custom Tracing
- In the navigation pane, choose Web Monitoring > Session Tracing. Select a site from the Site drop-down list. Click Custom to switch to the custom tracing details of the site.
Click
in the upper right corner of the custom tracing list and select the target metric data.
By default, the custom tracing list is sorted by Load Times in descending order.
Table 7 Custom tracing parameters Parameter
Description
Session ID
Unique ID for a user to access a server or web page.
Page URL
URL of the accessed page.
End Time
Last report time.
Client IP Address
IP address of the client.
UID
User ID.
Tag
User-defined tag, which can be used as a keyword to search.
Load Times
Total number of times pages were loaded.
Views (PV)
Page view (PV), which is the number of times a page is opened or refreshed.
- Click a session ID in the Session ID column to view the user track details. For details, see User track details.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot