mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Change primaryAggregation to crossSeriesReducer in Stackdriver
This commit is contained in:
@@ -34,7 +34,7 @@ export default class StackdriverDatasource {
|
||||
intervalMs: options.intervalMs,
|
||||
datasourceId: this.id,
|
||||
metricType: this.templateSrv.replace(t.metricType, options.scopedVars || {}),
|
||||
primaryAggregation: this.templateSrv.replace(t.crossSeriesReducer || 'REDUCE_MEAN', options.scopedVars || {}),
|
||||
crossSeriesReducer: this.templateSrv.replace(t.crossSeriesReducer || 'REDUCE_MEAN', options.scopedVars || {}),
|
||||
perSeriesAligner: this.templateSrv.replace(t.perSeriesAligner, options.scopedVars || {}),
|
||||
alignmentPeriod: this.templateSrv.replace(t.alignmentPeriod, options.scopedVars || {}),
|
||||
groupBys: this.interpolateGroupBys(t.groupBys, options.scopedVars),
|
||||
@@ -138,7 +138,7 @@ export default class StackdriverDatasource {
|
||||
refId: 'annotationQuery',
|
||||
datasourceId: this.id,
|
||||
metricType: this.templateSrv.replace(annotation.target.metricType, options.scopedVars || {}),
|
||||
primaryAggregation: 'REDUCE_NONE',
|
||||
crossSeriesReducer: 'REDUCE_NONE',
|
||||
perSeriesAligner: 'ALIGN_NONE',
|
||||
title: this.templateSrv.replace(annotation.target.title, options.scopedVars || {}),
|
||||
text: this.templateSrv.replace(annotation.target.text, options.scopedVars || {}),
|
||||
|
||||
Reference in New Issue
Block a user