Commit 2bd0d728 authored by mriedl's avatar mriedl
Browse files

fixed time of the rpediction when PO saves to influx

parent 778df4a7
......@@ -49,7 +49,7 @@ public class Prediction {
public Point getAsPoint(String metricName, String methodName) {
return Point.measurement(metricName + "Predictions")
.time(timestamp, TimeUnit.SECONDS)
.time(predictionTime, TimeUnit.SECONDS)
.addField(methodName + "_value", metricValue)
.addField(methodName + "_probability", probability)
.addField(methodName + "_left_conf", confidence_interval.get(0))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment