feat(plugins): migrating graphite query editor to new model

This commit is contained in:
Torkel Ödegaard
2016-02-02 12:52:43 +01:00
parent efdd4a6682
commit 822c8f1575
29 changed files with 1946 additions and 2035 deletions

View File

@@ -5,10 +5,9 @@ import _ from 'lodash';
import moment from 'moment';
import * as dateMath from 'app/core/utils/datemath';
import {QueryEditorCtrl} from 'app/features/panel/panel';
import {QueryCtrl} from 'app/features/panel/panel';
/** @ngInject */
class PrometheusQueryCtrl extends QueryEditorCtrl {
class PrometheusQueryCtrl extends QueryCtrl {
static templateUrl = 'public/app/plugins/datasource/prometheus/partials/query.editor.html';
metric: any;
resolutions: any;
@@ -16,6 +15,7 @@ class PrometheusQueryCtrl extends QueryEditorCtrl {
suggestMetrics: any;
linkToPrometheus: any;
/** @ngInject */
constructor($scope, $injector, private templateSrv) {
super($scope, $injector);