class PrometheusTimestampDeserializer extends JsonDeserializer<Instant> {

    static Instant decimalEpochTimestampToSQLTimestamp(String timestamp)
    {
        long promTimestampMillis = (long) (Double.parseDouble(timestamp) * 1000);
        return ofEpochMilli(promTimestampMillis);
    }

}