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

This commit is contained in:
Torkel Ödegaard 2014-11-17 07:09:21 +01:00
parent bde138177d
commit 02e1ac12b2

View File

@ -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]