@Override
    public void record(RequestMetric metric) {
        try {
            queue.put(metric);
        } catch (Exception e) {
            LOGGER.error(e, "An unexpected error occurred when attempting to enqueue a metric that "
                + "was awaiting storage. The record may be lost {0}", e.getMessage());
        }
    }
@see io.apiman.gateway.engine.IMetrics#record(io.apiman.gateway.engine.metrics.RequestMetric)
gateway/engine/jdbc/src/main/java/io/apiman/gateway/engine/jdbc/JdbcMetrics.java