瀏覽代碼

fix(annotations): fixed graphite annotations, broken by recent time handling changes, fixes #2947

Torkel Ödegaard 10 年之前
父節點
當前提交
c320e9d583
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/graphite/datasource.js

+ 1 - 1
public/app/plugins/datasource/graphite/datasource.js

@@ -75,7 +75,7 @@ function (angular, _, $, config, dateMath) {
       if (annotation.target) {
         var target = templateSrv.replace(annotation.target);
         var graphiteQuery = {
-          range: rangeUnparsed,
+          rangeRaw: rangeUnparsed,
           targets: [{ target: target }],
           format: 'json',
           maxDataPoints: 100