private String dateToLong(Date date) {
        return Long.toString(date.getTime());
    }
Constructor.
@param config plugin configuration options
gateway/engine/influxdb/src/main/java/io/apiman/gateway/engine/influxdb/InfluxDbMetrics.java