pub fn parse_span( service_name: Option<String>, resource_attrs: &[KeyValue], scope: &InstrumentationScope, span: Span, ) -> TraceSpan