code: public void send(List<StDatapoint> datapoints) {
      for (StDatapoint metric : datapoints) {
        StDatapointValidator.validate(metric);
      }
      sender.send(datapoints);
    }
docs: Send datapoints list.
  @param datapoints datapoints
  @throws IllegalArgumentException if one of datapoints is invalid