mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
InfluxDB: fixed annotations, broken after switch to millisecond resolution, Fixes #1061
This commit is contained in:
parent
bde138177d
commit
02e1ac12b2
@ -69,6 +69,7 @@ function (_) {
|
|||||||
p.getAnnotations = function () {
|
p.getAnnotations = function () {
|
||||||
var list = [];
|
var list = [];
|
||||||
var self = this;
|
var self = this;
|
||||||
|
console.log(this.seriesList);
|
||||||
|
|
||||||
_.each(this.seriesList, function (series) {
|
_.each(this.seriesList, function (series) {
|
||||||
var titleCol = null;
|
var titleCol = null;
|
||||||
@ -88,7 +89,7 @@ function (_) {
|
|||||||
_.each(series.points, function (point) {
|
_.each(series.points, function (point) {
|
||||||
var data = {
|
var data = {
|
||||||
annotation: self.annotation,
|
annotation: self.annotation,
|
||||||
time: point[timeCol] * 1000,
|
time: point[timeCol],
|
||||||
title: point[titleCol],
|
title: point[titleCol],
|
||||||
tags: point[tagsCol],
|
tags: point[tagsCol],
|
||||||
text: point[textCol]
|
text: point[textCol]
|
||||||
|
Loading…
Reference in New Issue
Block a user