mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: add alignemnt period
This commit is contained in:
parent
b883d7c1f3
commit
dde033c14a
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user