Skip to content

Commit bd729fc

Browse files
committed
Add transcripts UI doc to nav
1 parent 6342ede commit bd729fc

4 files changed

Lines changed: 58 additions & 155 deletions

File tree

modules/ROOT/nav.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
**** xref:ai-agents:mcp/local/overview.adoc[Overview]
5858
**** xref:ai-agents:mcp/local/quickstart.adoc[Quickstart]
5959
**** xref:ai-agents:mcp/local/configuration.adoc[Configure]
60-
** xref:ai-agents:observability/concepts.adoc[Transcripts]
60+
** xref:ai-agents:observability/index.adoc[Transcripts]
61+
*** xref:ai-agents:observability/concepts.adoc[Concepts]
62+
*** xref:ai-agents:observability/view-transcripts.adoc[View Transcripts]
6163
6264
* xref:develop:connect/about.adoc[Redpanda Connect]
6365
** xref:develop:connect/connect-quickstart.adoc[Quickstart]

modules/ai-agents/pages/observability/concepts.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ The `events` array captures what happened and when. Use `timeUnixNano` to see ex
316316
[[opentelemetry-traces-topic]]
317317
== How Redpanda stores trace data
318318

319-
The `redpanda.otel_traces` topic stores OpenTelemetry spans using Redpanda's Schema Registry wire format with a custom Protobuf schema that closely follows the https://opentelemetry.io/docs/specs/otel/protocol/[OpenTelemetry Protocol (OTLP)^] specification. A schema named `redpanda.otel_traces-value` is automatically registered in the Schema Registry with the topic, enabling clients to deserialize trace data correctly.
319+
The `redpanda.otel_traces` topic stores OpenTelemetry spans using Redpanda's Schema Registry wire format with a custom Protobuf schema named `redpanda.otel_traces-value` that closely follows the https://opentelemetry.io/docs/specs/otel/protocol/[OpenTelemetry Protocol (OTLP)^] specification. This schema is automatically registered in the Schema Registry with the topic, enabling clients to deserialize trace data correctly.
320320

321-
Redpanda manages both the topic and its schema automatically. If you delete either the topic or the schema, they are recreated automatically. However, deleting the topic permanently deletes all trace data, and the topic comes back empty. Do not produce your own data to this topic. It is reserved for OpenTelemetry traces.
321+
Redpanda manages both the `redpanda.otel_traces` topic and its schema automatically. If you delete either the topic or the schema, they are recreated automatically. However, deleting the topic permanently deletes all trace data, and the topic comes back empty. Do not produce your own data to this topic. It is reserved for OpenTelemetry traces.
322322

323323
=== Topic configuration and lifecycle
324324

@@ -348,5 +348,6 @@ For compliance and audit requirements, use the session and task topics for agent
348348

349349
== Next steps
350350

351+
* xref:ai-agents:observability/view-transcripts.adoc[]
351352
* xref:ai-agents:agents/monitor-agents.adoc[]
352353
* xref:ai-agents:mcp/remote/monitor-mcp-servers.adoc[]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
= Transcripts
2+
:page-layout: index
3+
:description: Monitor agent and MCP server execution using complete OpenTelemetry traces captured by Redpanda.
4+
5+
{description}
6+

modules/ai-agents/pages/observability/view-transcripts.adoc

Lines changed: 46 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -6,215 +6,109 @@
66
:learning-objective-2: Navigate between detail views to inspect span information at different levels
77
:learning-objective-3: Use the timeline interactively to navigate to specific time periods
88

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.
1010

1111
After reading this page, you will be able to:
1212

1313
* [ ] {learning-objective-1}
1414
* [ ] {learning-objective-2}
1515
* [ ] {learning-objective-3}
1616
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[].
1818

1919
== Prerequisites
2020

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)
2323

24-
== Navigate the timeline interactively
24+
== Navigate the Transcripts interface
2525

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
4027

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.
4429

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.
4631

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
5033

51-
////
34+
Use search and filters together to narrow down transcripts and quickly locate specific executions.
5235

53-
**When to use search:**
36+
==== Search for specific transcripts
5437

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:
5839

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
6043

61-
=== Filter by service
44+
==== Filter by service
6245

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.
6447

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}`)
6750
* Compare behavior across different service instances
6851

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
7853

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:
8255

8356
* Show successful executions for health checks
8457
* Show only failed executions for error investigation
8558
* Toggle between success and error views to compare and analyze patterns
8659

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
9861

9962
Use the time range selector to focus on specific time periods (from the last five minutes up to the last 24 hours):
10063

10164
* View recent executions (for example, over the last hour) to monitor real-time activity
10265
* 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
10367

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.
12669

70+
== Inspect span details
12771

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).
12973

130-
== Inspect span details
74+
Selected spans display detailed information at multiple levels, from high-level summaries to complete raw data:
13175

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
13379

13480
=== Summary view
13581

136-
The summary view provides high-level span information:
82+
The summary panel provides high-level span information:
13783

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
14187

142-
**When to use summary view:**
88+
Click on an individual span to drill down into the execution context:
14389

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
14792

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.
15594

15695
=== Detailed attributes view
15796

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.
18098

18199
=== Raw data view
182100

183101
The raw data view provides the complete span structure:
184102

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
187105
* Structured data suitable for export or programmatic access
188106

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.
214108

215109
== Next steps
216110

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

Comments
 (0)