All Products
Search
Document Center

Application Real-Time Monitoring Service:Trace query

Last Updated:Mar 11, 2026

When a request spans multiple services and something goes wrong -- a slow response, an error, a timeout -- you need to trace the full request path to find the root cause. The Trace Query page in the Application Real-Time Monitoring Service (ARMS) console lets you search distributed traces by trace ID, operation name, duration, or other span attributes. Drill into individual spans to identify which service introduced the bottleneck or error. Select multiple traces for aggregate analysis to spot patterns across requests.

Query traces

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Application Monitoring > Trace Query. In the top navigation bar, select a region.

  3. On the Trace Query page, select a parameter from the Parameter Type drop-down list and specify a value in the Parameter Value field. Click Add to Query Condition. To find a specific trace, set Parameter Type to TraceId and enter the exact trace ID. You can add multiple query conditions to narrow down results. The following table describes the available parameters.

    ParameterDescription
    TraceIdThe unique identifier of a trace. Supports exact match only.
    Operation NameThe name of the interface. Fuzzy match is not supported.
    Client Application NameThe name of the application that initiates the call.
    Server Application NameThe name of the application that receives the call.
    Duration ExceedsThe minimum call duration to filter by, in milliseconds. Returns traces with spans that exceed this threshold.
    Call TypeThe type of call. Select from the drop-down list.
    Abnormal CallSet to true to return only traces that contain abnormal calls.
    Client IP AddressThe IP address of the application that initiates the call.
    Server IP AddressThe IP address of the application that receives the call.
    Business Primary KeyA business primary key to search for business events within traces.
    Response CodeThe response code returned by the server application.
  4. In the query results, click the trace ID to open the Traces tab.

    Trace details

Read trace details

The Traces tab breaks down a trace into individual spans. Each row represents one span with the following fields:

FieldDescription
ApplicationThe application to which the trace belongs.
Log Generated AtThe timestamp when the log was generated.
StatusThe status of the trace. Red indicates an exception in the local trace related to the service. Green indicates the trace is normal.
IP AddressThe IP address of the application.
Call TypeThe type of call, corresponding to the call type in the query filter.
Interface NameThe name of the interface that was called.
Timeline (ms)The time consumed by each service and the proportion of time consumed by each service in the duration of the entire trace. Use this to identify which service consumed the most time in the request path.

Analyze multiple traces

Compare multiple traces side by side to identify patterns, such as which spans have the highest error rates or consume the most time.

  1. On the Trace Query page, select the checkboxes next to the traces you want to analyze.

  2. Click Analyze Selected Traces. The Trace Analysis panel displays aggregate metrics for the selected traces:

    ColumnDescription
    Span nameThe name of the span operation. Hover over the name to view the trace ID that contains the span.
    Application nameThe application that generated the span. Click the name to go to the Application Overview page.
    Call typeThe type of call for the span.
    Number of requestsThe total request count across the selected traces.
    Proportion of requestsThe share of total requests represented by this span.
    Number of exceptionsThe exception count for this span across the selected traces.
    Proportion of exceptionsThe share of total exceptions represented by this span.
    Average durationThe mean duration of this span across the selected traces.
    Proportion of spansThe share of total spans represented by this span type.
    Average duration of all selected tracesThe overall mean duration across all the selected traces.

    Trace analysis

Drill into span details

In the Trace Analysis panel, click Statistical Analysis in the Actions column to view detailed statistics for a specific span. The details include:

  • Proportions of different call types for each interface

  • Total duration, interface name, and number of requests

  • Recommended samples for further investigation

  • Number of times each call method is used

  • Breakdown of each call method: name, type, total duration, and proportion of time consumed

Span details