class ElasticAPM::Transaction

def stop(end_timestamp = Util.micros)

def stop(end_timestamp = Util.micros)
  raise 'Transaction not yet start' unless timestamp
  @duration = end_timestamp - timestamp
  self
end