Pārlūkot izejas kodu

stackdriver: add alignemnt period

Erik Sundell 7 gadi atpakaļ
vecāks
revīzija
dde033c14a

+ 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));