prunedTripIds.addAll(tripIds);
return prunedTripIds;
}
protected String ok(String metricName, Object value) {
Metric metric = new Metric();
metric.setMetricName(metricName);
metric.setCurrentTimestamp(System.currentTimeMillis());
metric.setMetricValue(value);
metric.setResponse("SUCCESS");
try {
return _mapper.writeValueAsString(metric);
} catch (IOException e) {
_log.error("metric serialization failed:" + e);