浏览代码

stackdriver: add alignemnt period

Erik Sundell 7 年之前
父节点
当前提交
dde033c14a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts

+ 1 - 0
public/app/plugins/datasource/stackdriver/query_aggregation_ctrl.ts

@@ -21,6 +21,7 @@ export class StackdriverAggregationCtrl {
     $scope.aggOptions = options.aggOptions;
     this.setAggOptions();
     this.setAlignOptions();
+    $scope.alignmentPeriods = options.alignmentPeriods;
     $scope.onAlignmentChange = this.onAlignmentChange.bind(this);
     $scope.onAggregationChange = this.onAggregationChange.bind(this);
     $scope.$on('metricTypeChanged', this.setAlignOptions.bind(this));