|
6 | 6 | :learning-objective-2: Navigate between detail views to inspect span information at different levels |
7 | 7 | :learning-objective-3: Use the timeline interactively to navigate to specific time periods |
8 | 8 |
|
9 | | -The Transcripts view provides filtering, searching, and navigation capabilities beyond basic timeline and hierarchy visualization. Use these features to efficiently locate and investigate specific execution traces. |
| 9 | +The Transcripts view provides filtering, searching, and navigation capabilities for investigating agent and MCP server execution transcripts. Use these features to efficiently locate specific operations, analyze performance patterns, and debug issues across tool invocations, LLM calls, and agent reasoning steps. |
10 | 10 |
|
11 | 11 | After reading this page, you will be able to: |
12 | 12 |
|
13 | 13 | * [ ] {learning-objective-1} |
14 | 14 | * [ ] {learning-objective-2} |
15 | 15 | * [ ] {learning-objective-3} |
16 | 16 |
|
17 | | -For basic Transcripts UI orientation, see xref:ai-agents:agents/monitor-agents.adoc[] or xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[]. For conceptual background on traces, see xref:ai-agents:observability/concepts.adoc[]. |
| 17 | +For basic orientation on agent and MCP server monitoring, see xref:ai-agents:agents/monitor-agents.adoc[] or xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[]. For conceptual background on what transcripts capture and how spans are organized hierarchically, see xref:ai-agents:observability/concepts.adoc[]. |
18 | 18 |
|
19 | 19 | == Prerequisites |
20 | 20 |
|
21 | | -* Running agent with at least one execution |
22 | | -* (permissions, ACL, auth) |
| 21 | +* xref:ai-agents:agents/create-agent.adoc[Running agent] or xref:ai-agents:mcp/remote/quickstart.adoc[MCP server] with at least one execution |
| 22 | +* Access to the Transcripts view (requires appropriate permissions to read the `redpanda.otel_traces` topic) |
23 | 23 |
|
24 | | -== Navigate the timeline interactively |
| 24 | +== Navigate the Transcripts interface |
25 | 25 |
|
26 | | -Use the timeline visualization to quickly identify when errors began or patterns changed, and navigate directly to transcripts from particular timestamps. |
27 | | - |
28 | | -//// |
29 | | -
|
30 | | -**When to use interactive timeline:** |
31 | | -
|
32 | | -* Investigating issues that occurred at known times |
33 | | -* Comparing behavior before and after deployments |
34 | | -* Analyzing execution patterns during specific events |
35 | | -* Correlating traces with external system changes |
36 | | -
|
37 | | -//// |
38 | | - |
39 | | -== Filter and search for transcripts |
| 26 | +=== Use the interactive timeline |
40 | 27 |
|
41 | | -Use filters and search together to narrow down transcripts and quickly locate specific executions. |
42 | | - |
43 | | -=== Search for specific traces |
| 28 | +Use the timeline visualization to quickly identify when errors began or patterns changed, and navigate directly to transcripts from particular timestamps. |
44 | 29 |
|
45 | | -The search functionality helps you find traces by operation names, types, or identifiers: |
| 30 | +TIP: See xref:ai-agents:agents/monitor-agents.adoc[] and xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[] to learn basic execution patterns and health indicators to investigate. |
46 | 31 |
|
47 | | -* Search by span names to find specific tools used |
48 | | -* Search by operation types (agent invocations, tool calls, LLM interactions) |
49 | | -* Search by trace IDs when troubleshooting and correlating with other systems |
| 32 | +=== Search and filter for transcripts |
50 | 33 |
|
51 | | -//// |
| 34 | +Use search and filters together to narrow down transcripts and quickly locate specific executions. |
52 | 35 |
|
53 | | -**When to use search:** |
| 36 | +==== Search for specific transcripts |
54 | 37 |
|
55 | | -* Finding traces that invoked a specific tool |
56 | | -* Locating a trace by ID when troubleshooting |
57 | | -* Narrowing to specific operation types |
| 38 | +The search functionality helps you find transcripts by operation names, span types, or identifiers: |
58 | 39 |
|
59 | | -//// |
| 40 | +* Search by span names to find specific xref:ai-agents:observability/concepts.adoc#agent-span-types[agent operations] like `invoke_agent`, or xref:ai-agents:mcp/remote/create-tool.adoc[MCP tools] |
| 41 | +* Search by xref:ai-agents:observability/concepts.adoc#instrumentation-layers[scope] to filter by layer (for example, `rpcn-mcp` for MCP tool spans) |
| 42 | +* Search by trace IDs (`traceId`) when correlating with external systems or troubleshooting specific requests |
60 | 43 |
|
61 | | -=== Filter by service |
| 44 | +==== Filter by service |
62 | 45 |
|
63 | | -Service filtering shows only traces from specific agents or MCP servers: |
| 46 | +Service filtering shows only transcripts from specific agents or MCP servers using the `service.name` resource attribute. See xref:ai-agents:observability/concepts.adoc#cross-service-transcripts[] to understand how transcripts span multiple services. |
64 | 47 |
|
65 | | -* View executions from a single agent when multiple are running |
66 | | -* Isolate MCP server activity from agent activity |
| 48 | +* View executions from a single agent when multiple are running (service name: `ai-agent`) |
| 49 | +* Isolate MCP server activity from agent activity (service name: `mcp-{server-id}`) |
67 | 50 | * Compare behavior across different service instances |
68 | 51 |
|
69 | | -//// |
70 | | -
|
71 | | -**When to use service filtering:** |
72 | | -
|
73 | | -* Multiple agents deployed, need to focus on one |
74 | | -* Debugging a specific service |
75 | | -* Comparing activity across services |
76 | | -
|
77 | | -//// |
| 52 | +==== Filter by execution status |
78 | 53 |
|
79 | | -=== Filter by execution status |
80 | | - |
81 | | -Status filtering shows traces based on their execution outcome: |
| 54 | +Status filtering shows transcripts based on their execution outcome: |
82 | 55 |
|
83 | 56 | * Show successful executions for health checks |
84 | 57 | * Show only failed executions for error investigation |
85 | 58 | * Toggle between success and error views to compare and analyze patterns |
86 | 59 |
|
87 | | -//// |
88 | | -
|
89 | | -**When to use status filtering:** |
90 | | -
|
91 | | -* Debugging: Focus on failures to identify error patterns |
92 | | -* Monitoring: Verify recent executions succeeded |
93 | | -* Analysis: Compare successful vs failed execution characteristics |
94 | | -
|
95 | | -//// |
96 | | - |
97 | | -=== Adjust time range |
| 60 | +==== Adjust time range |
98 | 61 |
|
99 | 62 | Use the time range selector to focus on specific time periods (from the last five minutes up to the last 24 hours): |
100 | 63 |
|
101 | 64 | * View recent executions (for example, over the last hour) to monitor real-time activity |
102 | 65 | * Expand to longer periods for trend analysis over the last day |
| 66 | +* Narrow to specific time windows when investigating issues that occurred at known times |
103 | 67 |
|
104 | | -//// |
105 | | -
|
106 | | -* Narrow to specific time windows when investigating incidents |
107 | | -
|
108 | | -**When to use time range adjustment:** |
109 | | -
|
110 | | -* Investigating issues that occurred at known times |
111 | | -* Analyzing execution patterns over days or weeks |
112 | | -* Focusing on recent activity for real-time monitoring |
113 | | -
|
114 | | -//// |
115 | | - |
116 | | -=== Combine multiple filters |
117 | | - |
118 | | -Filters work together for precise trace selection: |
119 | | - |
120 | | -* Service + Status: View only errors from a specific agent |
121 | | -* Time range + Search: Find tool invocations in a specific window |
122 | | -* All filters: Narrow to exact execution subset |
123 | | - |
124 | | -TIP: Apply broad filters first (time range, service) to reduce the trace set, then use search to narrow to specific operations. |
125 | | - |
| 68 | +TIP: Apply broad filters first (time range, service) to reduce the transcript set, then use search to narrow to specific operations. |
126 | 69 |
|
| 70 | +== Inspect span details |
127 | 71 |
|
128 | | -NOTE: Basic timeline pattern interpretation (spotting errors, gaps, trends) is covered in xref:ai-agents:agents/monitor-agents.adoc[]. |
| 72 | +Each row in the transcript table represents a high-level agent or MCP server request flow. Expand each parent span to see the xref:ai-agents:observability/concepts.adoc#agent-transcript-hierarchy[hierarchical structure] of nested operations, including tool calls, LLM interactions, and internal processing steps. Parent-child spans show how operations relate: for example, an agent invocation (parent) triggers LLM calls and tool executions (children). |
129 | 73 |
|
130 | | -== Inspect span details |
| 74 | +Selected spans display detailed information at multiple levels, from high-level summaries to complete raw data: |
131 | 75 |
|
132 | | -Selected spans display detailed information at multiple levels, from high-level summaries to complete raw data. Understanding when to use each view helps you investigate efficiently. |
| 76 | +* Start with summary view for quick assessment |
| 77 | +* Inspect attributes for detailed investigation |
| 78 | +* Use raw data when you need complete information |
133 | 79 |
|
134 | 80 | === Summary view |
135 | 81 |
|
136 | | -The summary view provides high-level span information: |
| 82 | +The summary panel provides high-level span information: |
137 | 83 |
|
138 | | -* Operation name and type |
139 | | -* Execution duration and outcome |
140 | | -* Key metrics relevant to the operation type |
| 84 | +* Total nested operations (span count) and execution time |
| 85 | +* Token usage for LLM operations |
| 86 | +* Counts of LLM calls and tool calls |
141 | 87 |
|
142 | | -**When to use summary view:** |
| 88 | +Click on an individual span to drill down into the execution context: |
143 | 89 |
|
144 | | -* Quick status verification |
145 | | -* Duration comparison across operations |
146 | | -* Initial assessment before deeper investigation |
| 90 | +* View the full conversation history saved for that session, including user prompts, configured xref:ai-agents:agents/create-agent.adoc#write-the-system-prompt[system prompts] to guide agent behavior, and LLM outputs |
| 91 | +* Inspect individual tool calls made by the agent and any of its sub-agents, including request arguments and responses |
147 | 92 |
|
148 | | -**Information typically shown:** |
149 | | - |
150 | | -* Total nested operations (span count) |
151 | | -* Execution duration |
152 | | -* Token usage (for LLM operations) |
153 | | -* Operation counts (LLM calls, tool calls) |
154 | | -* Service identification |
| 93 | +TIP: Expand the summary panel to full view to easily read long conversations. |
155 | 94 |
|
156 | 95 | === Detailed attributes view |
157 | 96 |
|
158 | | -The attributes view shows structured metadata about the span: |
159 | | - |
160 | | -* Key-value pairs describing the operation |
161 | | -* Operation-specific parameters and results |
162 | | -* Context information for correlation |
163 | | - |
164 | | -**When to use attributes view:** |
165 | | - |
166 | | -* Investigating operation parameters and inputs |
167 | | -* Understanding error details and conditions |
168 | | -* Finding correlation identifiers (conversation IDs, trace IDs) |
169 | | -* Analyzing operation-specific metrics |
170 | | - |
171 | | -**Common attribute categories:** |
172 | | - |
173 | | -* Operation metadata (type, name, provider) |
174 | | -* Timing and performance data |
175 | | -* Input/output information (token counts, parameter values) |
176 | | -* Correlation identifiers |
177 | | -* Error information when applicable |
178 | | - |
179 | | -For details on standard attributes, see xref:ai-agents:observability/concepts.adoc#key-attributes-by-layer[]. |
| 97 | +The attributes view shows structured metadata for each transcript span. Use this view to quickly locate an attribute value such as conversation ID, then paste it into the search box to find all operations from that conversation session. See xref:ai-agents:observability/concepts.adoc#key-attributes-by-layer[Transcripts and AI Observability] for details on standard attributes by instrumentation layer. |
180 | 98 |
|
181 | 99 | === Raw data view |
182 | 100 |
|
183 | 101 | The raw data view provides the complete span structure: |
184 | 102 |
|
185 | | -* Full OpenTelemetry span in standard format |
186 | | -* All fields including those not displayed in other views |
| 103 | +* Full OpenTelemetry span in JSON format |
| 104 | +* All fields including those not displayed in summary or attributes views |
187 | 105 | * Structured data suitable for export or programmatic access |
188 | 106 |
|
189 | | -**When to use raw data view:** |
190 | | - |
191 | | -* Debugging trace instrumentation |
192 | | -* Exporting span data for external analysis |
193 | | -* Accessing fields not shown in summarized views |
194 | | -* Understanding complete span structure for integration work |
195 | | - |
196 | | -**Key elements in raw structure:** |
197 | | - |
198 | | -* Trace and span identifiers for correlation |
199 | | -* Precise timestamps |
200 | | -* Complete attribute sets |
201 | | -* Event records (errors, custom events) |
202 | | -* Instrumentation metadata |
203 | | -* Status codes and messages |
204 | | - |
205 | | -=== Navigate between views |
206 | | - |
207 | | -Different views provide different levels of detail for the same span: |
208 | | - |
209 | | -* Start with summary for quick assessment |
210 | | -* Switch to attributes for detailed investigation |
211 | | -* Use raw data when you need complete information |
212 | | - |
213 | | -TIP: Different views show the same span data at different levels of detail - select the view that matches your current investigation needs. |
| 107 | +You can also view the raw transcript data in the `redpanda.otel_traces` topic. |
214 | 108 |
|
215 | 109 | == Next steps |
216 | 110 |
|
217 | | -* xref:ai-agents:agents/monitor-agents.adoc[] - Agent monitoring patterns (health checks, debugging) |
218 | | -* xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[] - MCP server monitoring patterns |
219 | | -* xref:ai-agents:observability/concepts.adoc[] - Conceptual foundation on transcripts and spans |
220 | | -* xref:ai-agents:agents/troubleshooting.adoc[] - Troubleshooting common issues |
| 111 | +* xref:ai-agents:agents/monitor-agents.adoc[] |
| 112 | +* xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[] |
| 113 | +* xref:ai-agents:observability/concepts.adoc[] |
| 114 | +* xref:ai-agents:agents/troubleshooting.adoc[] |
0 commit comments