code: func emitDatapointsOverStatsd(datapoints []producers.Datapoint, client *statsd.StatsdClient) error {
  	data := make(map[string]string)
  	for _, dp := range datapoints {
  		name, val, ok := convertDatapointToStatsd(dp)
  		// we silently drop metrics which could not be converted
  		if ok {
  			data[name] = val
  		}
  	}
  	client.Send(data, 1)
  	return nil
  }
docs: // emitDatapointsOverStatsd converts datapoints to statsd format and dispatches
  // them in a batch to the statsd server