Sessions, traces, and spans
Understand the three levels of AI interaction data that AI Control Tower uses to structure, score, and display runtime behavior.
To investigate a low quality or safety score, you can dig deeper into a session to narrow the problem to a specific step in the AI system's reasoning. AI Control Tower structures interaction data into three hierarchical levels following open telemetry standards.
| Level | What it represents | Ends when | Example |
|---|---|---|---|
| Session | One complete interaction with an AI system. | User closes the conversation, or 10 minutes of inactivity. | An employee asks an ITSM agent to create an incident for a VPN failure. |
| Trace | One turn in the interaction: one input, one output. | The AI system finishes processing and responds. | The agent asks "Which VPN client are you using?" and the user answers. |
| Span | A single step the AI system takes within a trace, such as a tool call, LLM call, database query, or workflow step. | The individual operation completes. | The agent calls the CMDB API to look up the user's VPN configuration. |
Why levels matter for scoring
Different metrics are evaluated at different levels because each level captures different aspects of behavior.
- Session-level metrics (such as Task completion) need the full context of the conversation to determine whether the user's goal was met. There is one score per session.
- Trace-level metrics (such as Overall task completeness for ServiceNow AI systems) assess whether a single turn achieved its intended outcome.
- Span-level metrics (such as Tool error) assess whether the AI system made good decisions at the individual step level, including whether the correct tool was called with valid parameters.
Telemetry data on traces
Each trace displays telemetry data alongside evaluation scores: total latency, span count, input tokens, output tokens, and total runtime tokens. These values reflect the tokens consumed by the AI system's actual execution, not the tokens consumed by evaluation scoring.