mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: adds policy interpolation in influxdb queries (#25500)
This commit is contained in:
@@ -179,6 +179,7 @@ export default class InfluxDatasource extends DataSourceApi<InfluxQuery, InfluxO
|
|||||||
...query,
|
...query,
|
||||||
datasource: this.name,
|
datasource: this.name,
|
||||||
measurement: this.templateSrv.replace(query.measurement, scopedVars, 'regex'),
|
measurement: this.templateSrv.replace(query.measurement, scopedVars, 'regex'),
|
||||||
|
policy: this.templateSrv.replace(query.policy, scopedVars, 'regex'),
|
||||||
};
|
};
|
||||||
|
|
||||||
if (query.rawQuery) {
|
if (query.rawQuery) {
|
||||||
|
|||||||
Reference in New Issue
Block a user