All Products
Search
Document Center

Application Real-Time Monitoring Service:LLM Trace Explorer

Last Updated:Apr 30, 2026

Once the Python agent is installed in your large language model (LLM) application, Trace Explorer analyzes its traces. The Trace Explorer page lets you view the duration of spans in a trace, along with their associated input, output, and token consumption.

Important

The LLM Trace Explorer feature is in beta. To try it, join our DingTalk group (ID: 67690017432) to request access.

Prerequisites

You have installed the agent for your LLM application. For instructions, see Connect your LLM application or inference service to ARMS.

Filter traces

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Trace Explorer.

  3. On the Trace Explorer page, select a time range in the upper-right corner.

    Note

    By default, LLM applications display the Large Model View (image icon). To view the Microservice View, click the image icon to switch.

  4. Filter traces.

    • In the Quick Filter area on the left, filter traces by status, duration, span type, API name, or model name.

      The filter conditions appear in the search box at the top of the page.

    • Click the search box at the top of the page to modify existing filters or add new ones.

      image

    • Enter a query directly in the search box. For information about the query syntax, see Query syntax for Trace Explorer.

      Note
      • Click the Save icon (保存) on the right side of the search box to save the current filter conditions.

      • Click Saved View to the right of the search box to see your saved filters. Clicking a filter applies it and displays the matching traces.

      • Select an aggregation dimension to group the filtered data.

Trace list

After you apply filters, the Trace Explorer page displays key metrics for matching traces—such as request count, token usage, and duration percentiles—along with a detailed trace list.

2025-02-10_11-08-32

Each entry in the trace list includes the trace ID, input/output, API name, span type, duration, total tokens, application name, user ID, session ID, and start time. In the trace list, you can perform the following operations:

  • In the Actions column for a trace, click Details to view its trace details. For more information, see Trace details.

  • In the Actions column for a specific trace, click Log to view the logs associated with the trace.

  • Click the Settings icon (设置) in the upper-right corner to customize the columns displayed in the list.

  • Hover over a parameter in the list and click the Filter icon (过滤) that appears to add its value as a filter condition.

Trace details

The trace details panel shows the trace timeline, start time, and total duration. It also provides details for each span, including its name, type, application, token count, duration, and input/output content.

2025-02-10_11-12-30

In the trace details panel, you can perform the following operations:

  • Hover over the tokens tag to view detailed token data.

  • Click a span name to view its duration, start time, additional information, metrics, and logs. The information displayed varies by operation type.

    • The additional information includes the model name, input question, prompt template, call parameters, and returned results.

    • For a description of the Attribute fields, see LLM trace field definitions.

Related topics

To learn about other Trace Explorer features, see Trace Explorer.