The trace query feature is used to view the trace status in the system, especially for slow or abnormal services.
- Log on to the EDAS console.
- In the left-side navigation pane, choose and click Trace Query.
- On the Trace Query page, click Show Advanced Options in the upper-right corner.
- Set the query criteria and click Query.
The advanced options for trace query are as follows:
Time Range: Click the time picker, set the query start time, and select a time period. The time period options are This Second, To 1 Minute Later, and To 10 Minutes Later. These options correspond to the following maximum delays: current time (last second), 1 minute ago, and 10 minutes ago.
Application Name: Select an application from the drop-down list. You can enter a keyword to search for an application. You cannot enter an application name manually.
Client IP: Enter the internal IP address of the HSF consumer to query the trace.
Server IP: Enter the internal IP address of the HSF provider to query the trace.
Entrance IP: Enter the public IP address of the ingress application. If no public IP address is available, enter the internal IP address of the ingress application.
Service Name: Enter the service name of the trace to be queried.Note When you query traces by service name, enter the service name in the format of
http://ip/xxx. For example, if you want to query traces by the service name
http://ip/_ehc.htmlin the Service Name field.
- Results: Enter the number of returned results.
Call Type: Select a call type from the drop-down list. Valid values are HTTP, HSF Provider, HSF Consumer, MySQL, Redis Cache, Message Sending, and Message Receiving.
Set the threshold of elapsed time, request, or response for querying slow services in the system.
In the query section, select Show Erroneous Ones Only in the upper-right corner to query abnormal services in EDAS.
- In the query results, click a slow or abnormal service to view trace details.
For more information about how to view trace details, see t1839108.dita#task1580.