Explorar o código

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

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
c320e9d583
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {
       if (annotation.target) {
         var target = templateSrv.replace(annotation.target);
         var target = templateSrv.replace(annotation.target);
         var graphiteQuery = {
         var graphiteQuery = {
-          range: rangeUnparsed,
+          rangeRaw: rangeUnparsed,
           targets: [{ target: target }],
           targets: [{ target: target }],
           format: 'json',
           format: 'json',
           maxDataPoints: 100
           maxDataPoints: 100