Search for call traces

Updated at:

This topic describes how to search for traces on the Trace Search page.

Procedure

  1. Log on to the Distributed Tracing console. In the navigation pane on the left, choose Trace Search.

  2. On the Trace Search page, specify values for the following search items and click Query.

    • Basic search items:

      • Trace ID: The unique ID of a trace.

      • Invocation Time: The default time range is the last 10 minutes.

      • Invocation Method: The options include ALL, Remote Procedure Call (RPC), HTTP, DB, and Message Queue (MQ).

      • Application Name: The name of the application.

      • Result: The options include All, Success, and Failed.

      • Response Duration: Select a response time range. The unit is milliseconds (ms).

    • Custom search items:

      • Custom middleware search items: Supported search items include serviceName, methodName, statusCode, database, eventId, msgId, topic, and eventCode. After you select a search item, enter its value.

      • Custom business search items: Enter the custom business tags that you added to the trace, such as ID card numbers or phone numbers, and their values in the `key=value` format. For more information, see Add custom business search items.

  3. The search results list the Trace ID, invocation time, response duration, invocation result, client name and address, server-side name and address, and service information for each trace.

  4. Click the Trace ID of a trace to view its details. For more information, see View trace details.

The bottom of the Trace Search page lists your search history and favorite traces.

  • In the search history section, click Clear History to clear all search records.

  • You can also click the favorite icon next to a trace to add it to your favorites.