stackdriver: add alignemnt period

This commit is contained in:
Erik Sundell 2018-09-26 15:03:44 +02:00
parent b883d7c1f3
commit dde033c14a

View File

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