metricName.insert(0, prefix);
}
metricName.append(".").append(valueName);
PyTuple tuple = new PyTuple(new PyString(metricName.toString()),
new PyTuple(new PyLong(timestamp), new PyString(value)));
metrics.add(tuple);
if(metrics.size() >= batchSize) {
writeMetrics();
}
}