edit-icon download-icon

Query invocation traces

Last Updated: Apr 11, 2018

On the Invocation Trace Query page, you can query the details about a specific invocation trace by the trace ID, or query invocation traces by multiple filtering criteria.

TraceId: the unique ID of each invocation trace, by which you can accurately query the calling data.

Invocation trace: Supports distributed invocation traces, and supports querying of inter-service invocation traces and local service invocation traces using the local call method stack.

  • Distributed invocation trace (inter-service invocation trace): a invocation trace between services.
  • Local invocation trace (method stack): the local method stack of one inter-service invocation trace.

Query invocation traces

Query invocation traces with either of the following methods:

  • Exact query: In the TraceId Exact Query search box, enter the trace ID, and press Enter or click the magnifier icon.
  • Advanced query: Query invocation traces by multiple criteria.

Multi-dimensional query criteria

Query field Description
Call type
  • HTTP entry: The client uses HTTP protocol for calling.
  • Dubbo provisioning: The client uses Dubbo for calling.
  • HSF provisioning: The client uses HSF for calling.
Takes Longer Than It takes longer than a specified duration (in milliseconds) to call.
Show Abnormal Calls Only When checked, it filters out calls with exceptions
Client Name/Client IP Name and IP address of the application that initiates the call
Server Name/Server IP Name and IP address of the application requested to be called
Interface Name Name of the interface called by the application. Prefix fuzzy match is supported, for example, you can use keyword api or resource to search for the /api/ResourceQuery interface.

View inter-service invocation traces (distributed invocation traces)

Click the trace ID of the invocation trace to be viewed to go to the Distributed Invocation Trace page.

Inter-service Invocation Trace

Field description

  • Status: Red indicates that an exception exists in the local invocation trace called by the service, while green indicates that the invocation trace is normal.

  • IP address: IP address of the application.

  • Call type: Type of the call, which corresponds to the call type option of the ad hoc query.

  • Timeline: Time consumption of each inter-service invocation trace, and time distribution of this invocation trace relative to that of the entire invocation trace.

View local service invocation traces (method stacks)

On the Distributed Invocation Trace page, click the application name or magnifier icon corresponding to a distributed invocation trace to go to the local invocation trace (method stack) page.

Method Stack

Field description

  • Call method: Method for calling the local method stack. After the call method is expanded, the next-layer calls of the method are displayed.

  • Row ID: ID of the row on which the code of the local method is located.

  • Extended information:

    • Parameter: Input parameters of the call
    • SQL: SQL statements called by the database
    • Exception: Exception details and so on
  • Timeline: Distribution of time consumed by each method call of the local invocation trace in which the inter-service call is located.

Thank you! We've received your feedback.