pub fn is_measured(span: &Span) -> bool
Returns true if a span should be measured (i.e., it should get trace metrics calculated).