ryan 7 лет назад
Родитель
Сommit
5ca972542b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/api/annotations.go

+ 1 - 1
pkg/api/annotations.go

@@ -156,7 +156,7 @@ func PostGraphiteAnnotation(c *m.ReqContext, cmd dtos.PostGraphiteAnnotationsCmd
 	item := annotations.Item{
 	item := annotations.Item{
 		OrgId:  c.OrgId,
 		OrgId:  c.OrgId,
 		UserId: c.UserId,
 		UserId: c.UserId,
-		Epoch:  cmd.When,
+		Epoch:  cmd.When * 1000,
 		Text:   text,
 		Text:   text,
 		Tags:   tagsArray,
 		Tags:   tagsArray,
 	}
 	}