This section is at https://rollingedition.com/observability-for-llm-applications/trace-a-request#spans-by-hand.