Function getActiveSpanContext