mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Datasource/CloudWatch: Correctly interpolate variables in CloudWatch Logs queries (#24619)
Closes #24603
This commit is contained in:
parent
277aee8642
commit
bfd337dd00
@ -582,6 +582,9 @@ export class CloudWatchDatasource extends DataSourceApi<CloudWatchQuery, CloudWa
|
||||
|
||||
if (makeReplacements) {
|
||||
requestParams.queries.forEach(query => {
|
||||
if (query.hasOwnProperty('queryString')) {
|
||||
query.queryString = this.replace(query.queryString, scopedVars, true);
|
||||
}
|
||||
query.region = this.replace(query.region, scopedVars, true, 'region');
|
||||
query.region = this.getActualRegion(query.region);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user