duration

safir.sentry.duration(span)

Return the time spent in a span (to the present if not finished).

Parameters:

span (Span)

Return type:

timedelta