class ElasticAPM::OpenTracing::Scope

def close

def close
  @span.finish if @finish_on_close
  @scope_stack.pop
end