Commit dde033c1 by Erik Sundell

stackdriver: add alignemnt period

parent b883d7c1
...@@ -21,6 +21,7 @@ export class StackdriverAggregationCtrl { ...@@ -21,6 +21,7 @@ export class StackdriverAggregationCtrl {
$scope.aggOptions = options.aggOptions; $scope.aggOptions = options.aggOptions;
this.setAggOptions(); this.setAggOptions();
this.setAlignOptions(); this.setAlignOptions();
$scope.alignmentPeriods = options.alignmentPeriods;
$scope.onAlignmentChange = this.onAlignmentChange.bind(this); $scope.onAlignmentChange = this.onAlignmentChange.bind(this);
$scope.onAggregationChange = this.onAggregationChange.bind(this); $scope.onAggregationChange = this.onAggregationChange.bind(this);
$scope.$on('metricTypeChanged', this.setAlignOptions.bind(this)); $scope.$on('metricTypeChanged', this.setAlignOptions.bind(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment