stackdriver: add alignemnt period

pull/13289/head
Erik Sundell 7 years ago
parent b883d7c1f3
commit dde033c14a
  1. 1
      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));

Loading…
Cancel
Save