2017-12-20 12:33:33 +01:00
|
|
|
import './query_parameter_ctrl';
|
|
|
|
|
import { QueryCtrl } from 'app/plugins/sdk';
|
2016-02-03 17:01:53 +01:00
|
|
|
|
|
|
|
|
export class CloudWatchQueryCtrl extends QueryCtrl {
|
2017-12-20 12:33:33 +01:00
|
|
|
static templateUrl = 'partials/query.editor.html';
|
2016-02-03 17:01:53 +01:00
|
|
|
|
|
|
|
|
aliasSyntax: string;
|
|
|
|
|
|
2018-08-31 16:40:43 +02:00
|
|
|
/** @ngInject */
|
2016-02-03 17:01:53 +01:00
|
|
|
constructor($scope, $injector) {
|
|
|
|
|
super($scope, $injector);
|
2017-12-21 08:39:31 +01:00
|
|
|
this.aliasSyntax = '{{metric}} {{stat}} {{namespace}} {{region}} {{<dimension name>}}';
|
2016-02-03 17:01:53 +01:00
|
|
|
}
|
|
|
|
|
}
|