code: func (c *Client) send(name string, value interface{}, suffix []byte, tags []string, rate float64) error {
  	if c == nil {
  		return fmt.Errorf("Client is nil")
  	}
  	if rate < 1 && rand.Float64() > rate {
  		return nil
  	}
  	data := c.format(name, value, suffix, tags, rate)
  	return c.sendMsg(data)
  }
docs: // send handles sampling and sends the message over UDP. It also adds global namespace prefixes and tags.