code: func (e *Exporter) getPeers() error {
  	peers := e.service.Peers()
  	e.datum.TotalPeers = float64(len(peers))
  	e.datum.InboundPeers = 0
  	e.datum.OutboundPeers = 0
  
  	for _, peer := range peers {
  		if peer.IsOutbound {
  			e.datum.OutboundPeers += 1
  		} else {
  			e.datum.InboundPeers += 1
  		}
  	}
  
  	return nil
  }
docs: // Get total peers