Trace View is the core page of Agent Observation. It lets you view the complete execution trace of an AI Agent within a single session or dialog, including token consumption, tool calls, and the inference process for each step.
Overview
Agent Observation is an eBPF-based observability tool for AI Agents. It provides fine-grained data collection and correlation analysis across the full runtime path without intruding on your business logic. The Trace View feature helps you analyze an Agent's execution process in depth and quickly locate issues.
The collected data primarily includes:
-
Token consumption for each session, including input tokens and output tokens.
-
The Agent's execution trace, including system input, user input, and Agent interaction steps.
Data is stored in Simple Log Service (SLS). The maximum query time range is seven days. Data older than seven days is automatically deleted.
Limitations
|
Limit type |
Description |
|
Region |
Available only in the Chinese mainland and Hong Kong (China) regions. |
|
Operating system (x86 architecture) |
|
|
Instance |
Applicable only to instances that run cosh or Openclaw applications. |
|
Other limitations |
Token statistics for Coding Plan are not supported. For Coding Plan, the input and output token counts may be 0. |
Prerequisites
-
You have created an Agent Observation configuration in Component Management on the operating system console and enabled trace collection.
-
The SysOM component version is 3.14 or later. If the version is earlier than 3.14, update the SysOM component first.
-
The target instance is added through a management plan and associated with a configuration that has Agent Observation enabled.
Procedure
-
Log on to the operating system console.
-
In the left-side navigation pane, choose Agent Observation > Trace View.
-
Set the query parameters.
-
Time Range: The default is the last week. You can query data from the past seven days.
-
Session ID or Dialog ID: Obtain the target session ID or dialog ID from the Token Analysis page.
-
-
Click Load. The page displays the trace details of the session or dialog.
Results
After the trace loads, the results panel contains the following information:
|
Panel |
Description |
|
Agent information |
Displays summary information for the current session or dialog, including the total number of steps (system input, user input, and Agent interaction), total input tokens, and total output tokens. |
|
Step details |
Displays the details of each step in chronological order. Steps are divided into three categories:
|