O&M engineers can customize distributed tracing configurations on the General Configurations page. This helps O&M engineers detect and troubleshoot errors. For example, O&M engineers can check whether the error rate of an application node is high or whether the response time of an application node is acceptable.
Configure link sampling
Link sampling configuration supports link key field collection configuration, and link sampling rate configuration.
Procedure
In the left-side navigation pane, click Distributed Links > Application Topology.
Click the configuration icon to enter the link sampling configuration page.
Configure link key field collection
All fields of each span of the link are collected by default. To save storage resources, you can turn on the switch to collect some key fields only, such as the call path and call return code.
Configure link sampling rate
To further reduce the computing and storage costs, the system supports link sampling rate configuration. By setting the link server sampling rate for the workspace, link request data is collected according to the configuration, instead of tracking every request.
To configure the link sampling rate, turn on the switch, enter the sampling rate, and save it. For example, if you enter 70%, it means that only 70% of the link server data will be collected.
Full sampling of error links
To query and track every error call request, enable full sampling of error links to sample all the error links. Other types of links are collected and stored according to the above sampling rate.