metric.setTimestamp(System.currentTimeMillis());
metric.setStartTime(System.currentTimeMillis());
metric.setType("LONG");
TreeMap<Long, Double> valueMap = new TreeMap<>();
long now = System.currentTimeMillis();
<BUG>for (int i = 0; i < 25000; i++) {
</BUG>
valueMap.put(new Long(now + i), new Double(1.0 + i));
}
metric.setMetricValues(valueMap);

metric.setTimestamp(System.currentTimeMillis());
metric.setStartTime(System.currentTimeMillis());
metric.setType("LONG");
TreeMap<Long, Double> valueMap = new TreeMap<>();
long now = System.currentTimeMillis();
for (int i = 0; i < 50000; i++) {
valueMap.put(new Long(now + i), new Double(1.0 + i));
}
metric.setMetricValues(valueMap);
