anchor.diff:  		"swap":      swap_stat,
   	}
   
  -	t.events <- event <3>
  +	t.Beat.Events <- event <3>
   
   	return nil
   }
  
positive.code: === Setup
  
  The `Setup` method gives you the opportunity to execute things before the main
  loop, usually for initialization. In the case of Topbeat, it only links the
  `events` channel with the publisher queue. This is the event channel mentioned
  in the Overview section.
  
  [source,go]
  ----------------------------------------------------------------------
  func (tb *Topbeat) Setup(b *beat.Beat) error {
  
  	tb.events = publisher.Publisher.Queue
  	return nil
  }
  ----------------------------------------------------------------------
  
negative.code: 
  Inside the loop, Topbeat sleeps for a configured period of time and then
  captures the required data and sends it to the publisher via the `events`
  channel. The events channel is available as part of the Beat object
  through the `Beat.Events` variable.
  
  The actual sending is done inside the `exportSystemStats()`:
  
  