@Override
                public void onFailure(Exception e) {
                    LOGGER.error("Failed to add metric(s) to Elasticsearch", e); //$NON-NLS-1$
                }
Process the next item in the queue.
gateway/engine/es/src/main/java/io/apiman/gateway/engine/es/EsMetrics.java