Multi-Span Tracing
Track complex workflows with hierarchical spans. Anytrace or trace_llm call made inside a parent trace callback automatically becomes a child span:
Multi-Span with Async
The same pattern works fully in async contexts:Span Attributes
Add custom attributes to enrich any span:Graceful Shutdown
Flush all buffered spans before your process exits:flush() at the end:
Next Steps
API Reference
Complete API documentation
Multi-Span Guide
Detailed multi-span tracing guide