* Fix query object for cloudmonitor panel from v6
* Use proper function
(cherry picked from commit 83b6df738e)
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
This commit is contained in:
co-authored by
Andres Martinez Gotor
parent
f0a975fc09
commit
fcdf4ee25c
@@ -343,7 +343,9 @@ export default class CloudMonitoringDatasource extends DataSourceWithBackend<
|
||||
}
|
||||
|
||||
interpolateVariablesInQueries(queries: CloudMonitoringQuery[], scopedVars: ScopedVars): CloudMonitoringQuery[] {
|
||||
return queries.map((query) => this.applyTemplateVariables(query, scopedVars) as CloudMonitoringQuery);
|
||||
return queries.map(
|
||||
(query) => this.applyTemplateVariables(this.migrateQuery(query), scopedVars) as CloudMonitoringQuery
|
||||
);
|
||||
}
|
||||
|
||||
interpolateFilters(filters: string[], scopedVars: ScopedVars) {
|
||||
|
||||
Reference in New Issue
Block a user