mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
(cloudwatch) move query parameter to 'parameters'
This commit is contained in:
@@ -48,12 +48,14 @@ function (angular, _, moment, dateMath, kbn, templatingVariable, CloudWatchAnnot
|
||||
item.dimensions = dimensions;
|
||||
item.period = self.getPeriod(item, options);
|
||||
|
||||
return _.extend({
|
||||
return {
|
||||
refId: item.refId,
|
||||
intervalMs: options.intervalMs,
|
||||
maxDataPoints: options.maxDataPoints,
|
||||
datasourceId: self.instanceSettings.id,
|
||||
}, item);
|
||||
type: 'timeSeriesQuery',
|
||||
parameters: item
|
||||
};
|
||||
});
|
||||
|
||||
// No valid targets, return the empty result to save a round trip.
|
||||
|
||||
Reference in New Issue
Block a user