class ElasticAPM::TimedWorker

def run_once

def run_once
  collect_and_send_transactions if should_flush_transactions?
  process_messages
end