class ElasticAPM::Span

def done(end_time: Util.micros)

def done(end_time: Util.micros)
  stop end_time
  build_stacktrace! if should_build_stacktrace?
  self.original_backtrace = nil # release original
  self
end