2016-02-03 17:01:53 +01:00
|
|
|
///<reference path="../../../headers/common.d.ts" />
|
|
|
|
|
|
|
|
|
|
import './query_parameter_ctrl';
|
|
|
|
|
import _ from 'lodash';
|
2016-02-05 18:08:21 +01:00
|
|
|
import {QueryCtrl} from 'app/plugins/sdk';
|
2016-02-03 17:01:53 +01:00
|
|
|
|
|
|
|
|
export class CloudWatchQueryCtrl extends QueryCtrl {
|
2016-02-09 18:17:32 +01:00
|
|
|
static templateUrl = 'partials/query.editor.html';
|
2016-02-03 17:01:53 +01:00
|
|
|
|
|
|
|
|
aliasSyntax: string;
|
|
|
|
|
|
|
|
|
|
/** @ngInject **/
|
|
|
|
|
constructor($scope, $injector) {
|
|
|
|
|
super($scope, $injector);
|
|
|
|
|
this.aliasSyntax = '{{metric}} {{stat}} {{namespace}} {{region}} {{<dimension name>}}';
|
|
|
|
|
}
|
|
|
|
|
}
|