code: func (s *StatsDSink) writeStatsDMetric(b []byte) {
  	lenb := len(b)
  
  	if lenb == 0 {
  		return
  	}
  
  	// single metric exceeds limit. sad day.
  	if lenb > maxUdpBytes {
  		return
  	}
  
  	lenUdpBuf := s.udpBuf.Len()
  
  	if (lenb + lenUdpBuf) > maxUdpBytes {
  		s.udpConn.WriteToUDP(s.udpBuf.Bytes(), s.udpAddr)
  		s.udpBuf.Truncate(0)
  	}
  
  	s.udpBuf.Write(b)
  }
docs: // assumes b is a well-formed statsd metric like "job.event:1|c\n" (including newline)