Skip to content

Commit 42faba0

Browse files
committed
docs: replace common enrichment patterns with enrich_span_context section
- Remove Pattern 1-5 (common enrichment patterns) from span enrichment guide - Add comprehensive section on enrich_span_context() for inline span creation - Emphasize use case: when it's hard to split code into separate functions - Include comparison table: @trace decorator vs enrich_span_context() - Add real-world RAG pipeline example with inline spans - Provide clear guidance on when to use each approach - Reduce doc from 757 to 544 lines (more focused on key patterns)
1 parent 2b9506a commit 42faba0

1 file changed

Lines changed: 156 additions & 360 deletions

File tree

0 commit comments

Comments
 (0)