Selaa lähdekoodia

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

Torkel Ödegaard 10 vuotta sitten
vanhempi
commit
c320e9d583
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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