Explorar el Código

InfluxDB: fixed annotations, broken after switch to millisecond resolution, Fixes #1061

Torkel Ödegaard hace 11 años
padre
commit
02e1ac12b2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/app/services/influxdb/influxSeries.js

+ 2 - 1
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]