From 02e1ac12b22efd89d6414c673fb528e15741091b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 17 Nov 2014 07:09:21 +0100 Subject: [PATCH] InfluxDB: fixed annotations, broken after switch to millisecond resolution, Fixes #1061 --- src/app/services/influxdb/influxSeries.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/services/influxdb/influxSeries.js b/src/app/services/influxdb/influxSeries.js index e9c8304d1f0..03b8c1cee71 100644 --- a/src/app/services/influxdb/influxSeries.js +++ b/src/app/services/influxdb/influxSeries.js @@ -69,6 +69,7 @@ function (_) { p.getAnnotations = function () { var list = []; var self = this; + console.log(this.seriesList); _.each(this.seriesList, function (series) { var titleCol = null; @@ -88,7 +89,7 @@ function (_) { _.each(series.points, function (point) { var data = { annotation: self.annotation, - time: point[timeCol] * 1000, + time: point[timeCol], title: point[titleCol], tags: point[tagsCol], text: point[textCol]