if (containerMetrics == null || containerMetrics.isEmpty()) {
log.warn(ctx.getChannel().getRemoteAddress() + " No valid metrics");
sendResponse(ctx, request, "No valid metrics", HttpResponseStatus.BAD_REQUEST);
}
final MetricsCollection collection = new MetricsCollection();
collection.add(new ArrayList<IMetric>(containerMetrics));
final Timer.Context persistingTimerContext = persistingTimer.time();
try {
ListenableFuture<List<Boolean>> futures = processorChain.apply(collection);
List<Boolean> persisteds = futures.get(timeout.getValue(), timeout.getUnit());
for (Boolean persisted : persisteds) {