query_ctrl.ts 445 B

12345678910111213141516
  1. ///<reference path="../../../headers/common.d.ts" />
  2. import './query_parameter_ctrl';
  3. import {QueryCtrl} from 'app/plugins/sdk';
  4. export class CloudWatchQueryCtrl extends QueryCtrl {
  5. static templateUrl = 'partials/query.editor.html';
  6. aliasSyntax: string;
  7. /** @ngInject **/
  8. constructor($scope, $injector) {
  9. super($scope, $injector);
  10. this.aliasSyntax = '{{metric}} {{stat}} {{namespace}} {{region}} {{<dimension name>}}';
  11. }
  12. }