Applies to:
Summary
Goal: Understand which spans appear in the trace Thread view and how input/output extraction works.Thread view span selection
Automatic span filtering
Thread view displays spans wherespan_attributes.type = 'llm' or span_attributes.type = 'score'. Only LLM spans have their input/output parsed into messages for conversation rendering. Extraction reads OpenTelemetry GenAI semantic conventions like gen_ai.prompt and gen_ai.completion. This process is automatic when you instrument providers or send OTel GenAI attributes.
Span type attribution
Setspan_attributes.type to control which spans appear in Thread view:
Configuration limitations
Thread view span selection is not configurable beyond thetype attribute. You cannot point Thread view to specific span types or exclude certain provider spans.