-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Summary
The current trace view displays raw span attributes. We need to improve this by showing relevant, structured information based on the type of span being viewed.
Span Types and Key Information
1. LLM Spans
When viewing an LLM call span, display:
- System prompt
- Conversation history
- User prompt
- Tool list (when using tool-calling APIs)
- Response
Key metadata: Token counts (input/output), model name
2. Tool Spans
When viewing a tool execution span, display:
- Tool name
- Tool input (parameters)
- Tool output (result)
Key metadata: Execution duration, status
3. Knowledge/RAG Spans
When viewing a retrieval span, display:
- Query
- Retrieved context/documents
Key metadata: Number of results, retrieval latency
4. Other Spans
For generic spans, display:
- Input
- Output
Key metadata: Duration, status, attributes
References
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request