pub fn phase_transition_span( from_phase: &str, to_phase: &str, session_id: &str, ) -> Span
Create a span for a phase transition.