query_ctrl.ts 453 B

1234567891011121314151617
  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 =
  11. "{{metric}} {{stat}} {{namespace}} {{region}} {{<dimension name>}}";
  12. }
  13. }