code: public void send(String name, String value, long timestamp) throws IOException {
          metrics.add(new MetricTuple(sanitize(name), timestamp, sanitize(value)));
  
          if (metrics.size() >= batchSize) {
              writeMetrics();
          }
      }
docs: Convert the metric to a python tuple of the form:
  <p/>
  (timestamp, (name, value))
  <p/>
  And add it to the list of metrics. If we reach the batch size, write them out.
  
  @param name      the name of the metric
  @param value     the value of the metric
  @param timestamp the timestamp of the metric
  @throws IOException if there was an error sending the metric